Skip to content

Commit

Permalink
Be explicit about Node version in GitHub CI
Browse files Browse the repository at this point in the history
Even though Node v16 is the default
actions/runner-images#4446
be explicit about the version needed, because
future updates may break CI
  • Loading branch information
Pl217 committed Dec 16, 2021
1 parent 11ec609 commit ea99e0b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install packages
run: yarn install --frozen-lockfile
- name: TypeScript compiler checks
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '16'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
steps:
- uses: actions/checkout@master

- uses: actions/setup-node@v2
with:
node-version: '16'

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down

0 comments on commit ea99e0b

Please sign in to comment.