Skip to content

Commit 38c075f

Browse files
committed
fixed: moved project dep install after setup node step
1 parent 24339c0 commit 38c075f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish-package.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ jobs:
2424
node-version: "16.x"
2525
cache: 'npm'
2626

27+
- name: install project dependencies
28+
run: yarn install --frozen-lockfile
29+
30+
- name: build project
31+
run: yarn build
32+
2733
- run: git config user.email "scottwestover2006@gmail.com"
2834
- run: git config user.name "@github-ci"
2935
- run: yarn version --patch --message "Bump version to %s"
3036

3137
- run: git push
3238
- run: git push --follow-tags
3339

34-
- name: install project dependencies
35-
run: yarn install --frozen-lockfile
36-
37-
- name: build project
38-
run: yarn build
39-
4040
- name: publish to npm
4141
run: |
4242
npm set //registry.npmjs.org/:_authToken ${{ secrets.npm_token }}

0 commit comments

Comments
 (0)