Skip to content

Commit 0fc447b

Browse files
author
Benjamin Reid
authored
Switch to yarn
1 parent f3aac9e commit 0fc447b

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,15 @@ on:
55
types: [created]
66

77
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v1
13-
with:
14-
node-version: 12
15-
- run: npm ci
16-
- run: npm test
17-
188
publish-npm:
19-
needs: build
209
runs-on: ubuntu-latest
2110
steps:
2211
- uses: actions/checkout@v2
23-
- uses: actions/setup-node@v1
12+
- uses: borales/[email protected]
13+
with:
14+
cmd: install
15+
- uses: borales/[email protected]
2416
with:
25-
node-version: 12
26-
registry-url: https://registry.npmjs.org/
27-
- run: npm ci
28-
- run: npm publish
17+
cmd: publish
2918
env:
3019
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)