Skip to content

Merge pull request #6 from Fa-haxiki/rc-qrcode-scan #3

Merge pull request #6 from Fa-haxiki/rc-qrcode-scan

Merge pull request #6 from Fa-haxiki/rc-qrcode-scan #3

Workflow file for this run

name: Public Npm
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
name: 'publish npm'
environment: 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:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}