Skip to content

Commit 4d917e9

Browse files
authored
Refactor npm update step in release workflow (#211)
1 parent 6664ce1 commit 4d917e9

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ jobs:
3131
node-version-file: package.json
3232
registry-url: "https://registry.npmjs.org"
3333

34-
- name: Update npm
35-
run: npm install -g npm@11.15.0
36-
3734
- name: Install dependencies
3835
run: npm ci --ignore-scripts
3936

@@ -75,12 +72,12 @@ jobs:
7572
node-version: 22
7673
registry-url: "https://registry.npmjs.org"
7774

78-
- name: Update npm
79-
run: npm install -g npm@11.15.0
80-
8175
- name: Install dependencies
8276
run: npm ci --ignore-scripts
8377

78+
- name: Update npm
79+
run: npm install -g npm@11.15.0
80+
8481
- name: Build package
8582
run: npm run build
8683

0 commit comments

Comments
 (0)