1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

chore: Revert non-working way to specify npm version in ci

This reverts commit 1232445e0a.

Co-authored-by: Gabriel <gaccettola@mirantis.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-turso 2023-05-04 13:26:43 +03:00 committed by Gabriel Accettola
parent 51f75cc9e0
commit 6f4fb39936
9 changed files with 10 additions and 11 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
npm run all:install npm install
npm run build:docs npm run build:docs
- name: Verify that the markdown is valid - name: Verify that the markdown is valid

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 run all:install-in-ci command: npm 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

@ -17,7 +17,7 @@ jobs:
- name: Install deps - name: Install deps
run: | run: |
npm run all:install npm install
env: env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -23,7 +23,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install deps - name: Install deps
run: npm run all:install run: npm install
- name: Lint - name: Lint
run: npm run lint run: npm run lint

View File

@ -37,7 +37,7 @@ jobs:
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
npm run all:install npm install
npm run typedocs-extensions-api npm run typedocs-extensions-api
- name: Checkout master branch from lens - name: Checkout master branch from lens

View File

@ -34,7 +34,7 @@ jobs:
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
npm run all:install npm install
npm run build:docs npm run build:docs
- name: Verify that the markdown is valid - name: Verify that the markdown is valid
@ -77,7 +77,7 @@ jobs:
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
npm run all:install-in-ci npm 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 run all:install-in-ci npm 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 run all:install-in-ci command: npm 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 run all:install-in-ci command: npm ci
- run: | - run: |
npm run build -- --ignore open-lens npm run build -- --ignore open-lens

View File

@ -9,7 +9,6 @@
"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",