Skip to content

Commit 070b688

Browse files
Fix react publish workflow (#58)
* fix npm build after switch to the npm version 11.11.1 * use for the build and generate workflow also the last NPM version
1 parent 848de4e commit 070b688

File tree

4 files changed

+41
-96
lines changed

4 files changed

+41
-96
lines changed

.github/workflows/pr-build-lint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
with:
2828
node-version: '20.x'
2929
registry-url: 'https://registry.npmjs.org'
30+
# Ensure that the build and publish CMD are running with the same NPM version
31+
- run: npm install -g npm@latest
3032
- run: npm ci
3133
- run: npm run ci
3234
- run: npm run build

.github/workflows/pr-generate-check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
with:
3030
node-version: '20.x'
3131
registry-url: 'https://registry.npmjs.org'
32+
# Ensure that the generate and publish CMD are running with the same NPM version
33+
- run: npm install -g npm@latest
3234
- run: npm ci
3335
- run: npm run ci # runs ci via lerna in all directories
3436
- run: npm run generate # regenerate files

0 commit comments

Comments
 (0)