Skip to content

Commit

Permalink
chore: Make ci "npm ci" using correct version of NPM
Browse files Browse the repository at this point in the history
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
  • Loading branch information
Iku-turso committed May 4, 2023
1 parent b3c2363 commit 1232445
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
timeout_minutes: 20
max_attempts: 3
retry_on: error
command: npm ci
command: npm run all:install-in-ci

- name: Build library parts
run: npm run build -- --ignore open-lens
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

- name: Generate Extensions API Reference using typedocs
run: |
npm ci
npm run all:install-in-ci
npm run build:docs
- name: mkdocs deploy master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Generate NPM packages
run: |
npm ci
npm run all:install-in-ci
npm run build
- name: Publish NPM packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
timeout_minutes: 20
max_attempts: 3
retry_on: error
command: npm ci
command: npm run all:install-in-ci

- name: Install integration test dependencies
id: minikube
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
timeout_minutes: 20
max_attempts: 3
retry_on: error
command: npm ci
command: npm run all:install-in-ci

- run: |
npm run build -- --ignore open-lens
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"all:reinstall": "npm run clean:node_modules && npm run all:install",
"all:install": "npx --yes --package npm@9.6.5 npm install",
"all:install-in-ci": "npx --yes --package npm@9.6.5 npm ci",
"adr:create": "echo \"What is the title?\"; read title; adr new \"$title\"",
"adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision",
"adr:update-readme": "adr update",
Expand Down

0 comments on commit 1232445

Please sign in to comment.