Skip to content

Commit 9a7c850

Browse files
committed
chore(cicd): fix release
1 parent 9df4493 commit 9a7c850

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/on-push.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
branches:
55
- '**' # matches every branch
66
- '!main'
7-
87
jobs:
98
on_push:
109
runs-on: ubuntu-latest

.github/workflows/on-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
with:
2020
node-version: '14'
2121

22+
- name: "Setup npm"
23+
run: |
24+
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
25+
2226
- name: Install packages
2327
run: |
2428
npm ci
2529
npm run lerna-ci
2630
27-
- name: "Setup npm"
28-
run: |
29-
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
30-
3131
- name: "Version and publish"
3232
env:
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)