Skip to content

Merge pull request #4 from elozino1/upgradeV3 #4

Merge pull request #4 from elozino1/upgradeV3

Merge pull request #4 from elozino1/upgradeV3 #4

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- main
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: |
npm install
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm run dist
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}