Skip to content

Commit 93ad7ae

Browse files
authored
Merge pull request #58 from diplodoc-platform/npm-fix
chore: update npm version
2 parents 8e056f1 + 38f801e commit 93ad7ae

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/boostrap.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
with:
2222
node-version: 22
2323
cache: 'npm'
24+
- name: Install latest npm (>= 11.5.1)
25+
run: |
26+
[ "$(printf '%s\n' "11.5.1" "$(npm -v)" | sort -V | head -n1)" = "11.5.1" ] || npm install -g npm@latest
27+
shell: bash
2428
- name: Run npm bootstrap
2529
run: npm run bootstrap
2630
env:

.github/workflows/e2e-tests.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ jobs:
6767
node-version: 22
6868
cache: 'npm'
6969

70+
- name: Install latest npm (>= 11.5.1)
71+
run: |
72+
[ "$(printf '%s\n' "11.5.1" "$(npm -v)" | sort -V | head -n1)" = "11.5.1" ] || npm install -g npm@latest
73+
shell: bash
74+
7075
- name: Cache Playwright browsers
7176
uses: actions/cache@v4
7277
id: playwright-cache

.github/workflows/update-submodules.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
node-version: 22
2626
registry-url: 'https://registry.npmjs.org'
2727

28+
- name: Install latest npm (>= 11.5.1)
29+
run: |
30+
[ "$(printf '%s\n' "11.5.1" "$(npm -v)" | sort -V | head -n1)" = "11.5.1" ] || npm install -g npm@latest
31+
shell: bash
32+
2833
- name: Update submodules to remote HEAD
2934
run: |
3035
git submodule sync --recursive

0 commit comments

Comments
 (0)