Skip to content

Commit

Permalink
ci: update npm in ci for npm publish #129
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckMt committed Oct 13, 2022
1 parent 97b7e78 commit f9239e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/package-main-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ jobs:
registry-url: https://npm.pkg.github.com/
scope: "@dlr-eoc"
- run: npm ci
### install npm 6 for publish https://github.com/npm/cli/issues/2453
- run: npm i -g npm@6.14.13
### update npm to >8.19 for publish https://github.com/npm/cli/issues/2453 https://github.com/npm/cli/issues/3573
- run: npm i -g npm@8.19.2
- run: rm -f .npmrc
### for each module in dist set version from repository package.json
- run: node scripts/library/index.js --set
Expand Down Expand Up @@ -183,8 +183,8 @@ jobs:
registry-url: https://registry.npmjs.org/
scope: "@dlr-eoc"
- run: npm ci
### install npm 6 for publish https://github.com/npm/cli/issues/2453
- run: npm i -g npm@6.14.13
### update npm to >8.19 for publish https://github.com/npm/cli/issues/2453 https://github.com/npm/cli/issues/3573
- run: npm i -g npm@8.19.2
- run: rm -f .npmrc
### for each module in dist set version from repository package.json
- run: node scripts/library/index.js --set
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/package-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
registry-url: https://npm.pkg.github.com/
scope: "@dlr-eoc"
- run: npm ci
### install npm 6 for publish https://github.com/npm/cli/issues/2453
- run: npm i -g npm@6.14.13
### update npm to >8.19 for publish https://github.com/npm/cli/issues/2453 https://github.com/npm/cli/issues/3573
- run: npm i -g npm@8.19.2
- run: rm -f .npmrc
### for each module in dist set version from repository package.json
- run: node scripts/library/index.js --set
Expand Down Expand Up @@ -102,8 +102,8 @@ jobs:
registry-url: https://registry.npmjs.org/
scope: "@dlr-eoc"
- run: npm ci
### install npm 6 for publish https://github.com/npm/cli/issues/2453
- run: npm i -g npm@6.14.13
### update npm to >8.19 for publish https://github.com/npm/cli/issues/2453 https://github.com/npm/cli/issues/3573
- run: npm i -g npm@8.19.2
- run: rm -f .npmrc
### for each module in dist set version from repository package.json
- run: node scripts/library/index.js --set
Expand Down

0 comments on commit f9239e0

Please sign in to comment.