mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Make ci "npm ci" using correct version of NPM
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
parent
b3c2363694
commit
1232445e0a
2
.github/workflows/cron-test.yaml
vendored
2
.github/workflows/cron-test.yaml
vendored
@ -48,7 +48,7 @@ jobs:
|
|||||||
timeout_minutes: 20
|
timeout_minutes: 20
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: npm ci
|
command: npm run all:install-in-ci
|
||||||
|
|
||||||
- name: Build library parts
|
- name: Build library parts
|
||||||
run: npm run build -- --ignore open-lens
|
run: npm run build -- --ignore open-lens
|
||||||
|
|||||||
2
.github/workflows/publish-docs.yml
vendored
2
.github/workflows/publish-docs.yml
vendored
@ -77,7 +77,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate Extensions API Reference using typedocs
|
- name: Generate Extensions API Reference using typedocs
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm run all:install-in-ci
|
||||||
npm run build:docs
|
npm run build:docs
|
||||||
|
|
||||||
- name: mkdocs deploy master
|
- name: mkdocs deploy master
|
||||||
|
|||||||
2
.github/workflows/publish-release-npm.yml
vendored
2
.github/workflows/publish-release-npm.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate NPM packages
|
- name: Generate NPM packages
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm run all:install-in-ci
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Publish NPM packages
|
- name: Publish NPM packages
|
||||||
|
|||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
timeout_minutes: 20
|
timeout_minutes: 20
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: npm ci
|
command: npm run all:install-in-ci
|
||||||
|
|
||||||
- name: Install integration test dependencies
|
- name: Install integration test dependencies
|
||||||
id: minikube
|
id: minikube
|
||||||
@ -122,7 +122,7 @@ jobs:
|
|||||||
timeout_minutes: 20
|
timeout_minutes: 20
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: npm ci
|
command: npm run all:install-in-ci
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
npm run build -- --ignore open-lens
|
npm run build -- --ignore open-lens
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"all:reinstall": "npm run clean:node_modules && npm run all:install",
|
"all:reinstall": "npm run clean:node_modules && npm run all:install",
|
||||||
"all:install": "npx --yes --package npm@9.6.5 npm 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:create": "echo \"What is the title?\"; read title; adr new \"$title\"",
|
||||||
"adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision",
|
"adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision",
|
||||||
"adr:update-readme": "adr update",
|
"adr:update-readme": "adr update",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user