Skip to content

Merge pull request #41 from LucasWerey/fix/14 #67

Merge pull request #41 from LucasWerey/fix/14

Merge pull request #41 from LucasWerey/fix/14 #67

name: Publish NPM Package
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn install
- name: Build Package
run: yarn build
- name: Publish to NPM
run: |
npm config set //npm.pkg.github.com/:_authToken=${{ secrets.PUBLISH }}
npm publish