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

chore: Try if CI works with an alternate way of specifying npm version

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-turso 2023-05-04 13:38:27 +03:00 committed by Gabriel Accettola
parent 6f4fb39936
commit 1b30b50a7d
8 changed files with 30 additions and 0 deletions

View File

@ -22,6 +22,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
npm install npm install

View File

@ -27,6 +27,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Get npm cache directory path - name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}
id: npm-cache-dir-path id: npm-cache-dir-path

View File

@ -15,6 +15,9 @@ jobs:
node-version: "16.x" node-version: "16.x"
registry-url: "https://npm.pkg.github.com" registry-url: "https://npm.pkg.github.com"
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Install deps - name: Install deps
run: | run: |
npm install npm install

View File

@ -22,6 +22,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Install deps - name: Install deps
run: npm install run: npm install

View File

@ -35,6 +35,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
npm install npm install

View File

@ -32,6 +32,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
npm install npm install
@ -75,6 +78,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
npm ci npm ci

View File

@ -30,6 +30,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Generate NPM packages - name: Generate NPM packages
run: | run: |
npm ci npm ci

View File

@ -34,6 +34,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Get npm cache directory path - name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}
id: npm-cache-dir-path id: npm-cache-dir-path
@ -101,6 +104,9 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version
run: npm install -g npm@9.6.5
- name: Get npm cache directory path - name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}
id: npm-cache-dir-path id: npm-cache-dir-path