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
|
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user