Valentin Popov bbc0fca985
fix(actions): Update auth action
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-03-26 22:36:31 +04:00

20 lines
392 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: yarn install
- run: yarn run build
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
- run: npm publish