fix(actions): Used node action
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
4431cd50b1
commit
f12fa08c45
16
.github/workflows/publish.yml
vendored
16
.github/workflows/publish.yml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user