Valentin Popov 84a6f6a0f1 Updated Actions config file
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-18 01:05:06 +04:00

20 lines
390 B
YAML

name: Publish
on:
create:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '13.x'
- run: npm install
- run: npm run build
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
- run: npm publish