Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Fix GHA warnings for upcoming changes for setup-node action (#1508)
Browse files Browse the repository at this point in the history
* fix GHA warnings for node setup

* fix typo

* fix warnings
  • Loading branch information
DenysVuika committed Feb 3, 2023
1 parent 9fd6634 commit 26bbe4e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/js-api-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.0.0
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'npm'
- run: npm ci

Expand All @@ -50,14 +50,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.0.0
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'npm'
- run: npm ci

Expand All @@ -67,7 +67,7 @@ jobs:
npm run test || exit 1
npm run coverage
- name: Perfomance
- name: Performance
shell: bash
run: ./scripts/test-performance.sh || exit 1

Expand All @@ -87,14 +87,14 @@ jobs:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || github.event.schedule == '0 3 * * *'
steps:
- name: Checkout
uses: actions/checkout@v3.0.0
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'npm'
- run: npm ci

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/trigger-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
steps:
- name: Checkout
uses: actions/checkout@v3.0.0
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'npm'
- run: npm ci

Expand Down

0 comments on commit 26bbe4e

Please sign in to comment.