Skip to content

Commit 27b2347

Browse files
authored
npm ci with npm registry first
1 parent 9f451d6 commit 27b2347

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,18 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v3
30+
- uses: actions/setup-node@v3
31+
with:
32+
node-version: 14
33+
registry-url: https://registry.npmjs.org/
34+
cache: npm
35+
- run: npm ci
36+
- run: npm test
3037
- name: Setup GHPR
3138
uses: actions/setup-node@v3
3239
with:
3340
node-version: 14
3441
registry-url: 'https://npm.pkg.github.com'
35-
- run: npm ci
36-
- run: npm test
3742
- run: npm version ${TAG_NAME} --git-tag-version=false
3843
env:
3944
TAG_NAME: 1.4.2

0 commit comments

Comments
 (0)