1
0
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:
Iku-turso 2023-05-04 12:31:21 +03:00
parent b3c2363694
commit 1232445e0a
5 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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",