fix(actions): Used node action

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-03-26 22:31:34 +04:00
parent 4431cd50b1
commit f12fa08c45
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -10,13 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/actions-yarn@v2.0.0
- uses: actions/setup-node@v1
with:
cmd: install
- uses: borales/actions-yarn@v2.0.0
with:
cmd: build
- uses: borales/actions-yarn@v2.0.0
"auth-token": ${{ secrets.NPM_AUTH_TOKEN }}
with:
cmd: publish
node-version: '13.x'
- run: yarn install
- run: yarn run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}