Skip to content

Commit

Permalink
chore: Try if CI works with an alternate way of specifying npm version
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 authored and gabriel-mirantis committed May 4, 2023
1 parent 6f4fb39 commit 1b30b50
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
with:
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
run: |
npm install
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cron-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install specific npm version
run: npm install -g npm@9.6.5

- name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }}
id: npm-cache-dir-path
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/daily-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"

- name: Install specific npm version
run: npm install -g npm@9.6.5

- name: Install deps
run: |
npm install
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install specific npm version
run: npm install -g npm@9.6.5

- name: Install deps
run: npm install

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/mkdocs-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
with:
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
run: |
npm install
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
with:
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
run: |
npm install
Expand Down Expand Up @@ -75,6 +78,9 @@ jobs:
with:
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
run: |
npm ci
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install specific npm version
run: npm install -g npm@9.6.5

- name: Generate NPM packages
run: |
npm ci
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install specific npm version
run: npm install -g npm@9.6.5

- name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }}
id: npm-cache-dir-path
Expand Down Expand Up @@ -101,6 +104,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install specific npm version
run: npm install -g npm@9.6.5

- name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }}
id: npm-cache-dir-path
Expand Down

0 comments on commit 1b30b50

Please sign in to comment.