Skip to content

Commit 8a82083

Browse files
fix: ci/cd
1 parent 2406c48 commit 8a82083

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/pr-check.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
node-version: ${{ env.NODE_VERSION }}
2424
cache: ${{ env.ENABLE_CACHE == 'yes' && 'npm' || '' }}
2525

26-
- run: corepack enable
27-
- run: corepack prepare npm@${{ env.NPM_VERSION }} --activate
26+
- run: npm i -g npm@${{ env.NPM_VERSION }}
2827

2928
- name: Install dependencies
3029
run: npm ci --ignore-scripts

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
node-version: ${{ env.NODE_VERSION }}
2222
cache: ${{ env.ENABLE_CACHE == 'yes' && 'npm' || '' }}
2323

24-
- run: corepack enable
25-
- run: corepack prepare npm@${{ env.NPM_VERSION }} --activate
24+
- run: npm i -g npm@${{ env.NPM_VERSION }}
2625

2726
- name: Install dependencies
2827
run: npm ci --ignore-scripts

0 commit comments

Comments
 (0)