Skip to content

Merge pull request #8 from Fa-haxiki/Fa-haxiki-patch-7 #5

Merge pull request #8 from Fa-haxiki/Fa-haxiki-patch-7

Merge pull request #8 from Fa-haxiki/Fa-haxiki-patch-7 #5

Workflow file for this run

name: Publish NPM Package
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
name: 'publish npm'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Install and Build
run: |
npm install
npm run build
- name: Publish to the npm registry
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}