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 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: borales/actions-yarn@v2.0.0 - uses: actions/setup-node@v1
with: with:
cmd: install node-version: '13.x'
- uses: borales/actions-yarn@v2.0.0 - run: yarn install
with: - run: yarn run build
cmd: build - run: npm publish
- uses: borales/actions-yarn@v2.0.0 env:
"auth-token": ${{ secrets.NPM_AUTH_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
with:
cmd: publish