Skip to content

Commit

Permalink
Merge pull request #3911 from alphagov/pin-setup-node-main
Browse files Browse the repository at this point in the history
[main] Pin GitHub `actions/setup-node` to v3.6.0
  • Loading branch information
36degrees committed Jul 6, 2023
2 parents 6a8fb79 + 1a04a39 commit bb550bb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:

steps:
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v3.6.0
id: setup-node

with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/diff-change-to-dist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: 0 # Need to also checkout the base branch to compare

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v3.6.0
with:
cache: npm
node-version-file: .nvmrc
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v3.6.0
with:
cache: npm
node-version: 8 # Node.js 8 supported by Dart Sass v1.0.0
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v3.6.0
with:
cache: npm
node-version: 18 # Node.js 18 supported by Dart Sass v1
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v3.6.0
with:
cache: npm
node-version: 4 # Node.js 4 supported by Node Sass v3.4.0
Expand All @@ -99,7 +99,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v3.6.0
with:
cache: npm
node-version: 18 # Node.js 18 supported by Node Sass v8.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
uses: ./.github/workflows/actions/build

- name: Change Node.js version
uses: actions/setup-node@v3
uses: actions/setup-node@v3.6.0
with:
node-version: ${{ matrix.node-version }}

Expand Down

0 comments on commit bb550bb

Please sign in to comment.