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

Commit 2baadd5

Browse files
authored
ci: update actions/workflows to use Node 16 (#3833)
1 parent d8cfb81 commit 2baadd5

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/actions/docker-publish/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
using: "composite"
2626
steps:
2727
- name: Use npm 14
28-
uses: actions/setup-node@v1
28+
uses: actions/setup-node@v3
2929
with:
3030
node-version: 14
3131

.github/workflows/cancel-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-20.04
1111
timeout-minutes: 3
1212
steps:
13-
- uses: styfle/cancel-workflow-action@0.7.0
13+
- uses: styfle/cancel-workflow-action@0.11.0
1414
with:
1515
workflow_id: 5127767
1616
access_token: ${{ github.token }}

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ jobs:
2121

2222
steps:
2323
- name: Cancel Previous Runs
24-
uses: styfle/cancel-workflow-action@0.7.0
24+
uses: styfle/cancel-workflow-action@0.11.0
2525
with:
2626
access_token: ${{ github.token }}
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2828
with:
2929
token: ${{ secrets.GITHUB_TOKEN }}
3030

3131
- name: Use Node.js ${{ matrix.node }}
32-
uses: actions/setup-node@v2
32+
uses: actions/setup-node@v3
3333
with:
3434
node-version: ${{ matrix.node }}
3535

3636
- name: Add msbuild to PATH
3737
# we need msbuild tools for the `bcrypto` module
3838
if: startsWith(matrix.os, 'windows-')
39-
uses: microsoft/setup-msbuild@v1.0.2
39+
uses: microsoft/setup-msbuild@v1.1
4040

4141
- run: npm ci
4242
- run: npm run tsc

.github/workflows/push.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
with:
2121
token: ${{ secrets.GITHUB_TOKEN }}
2222
- name: Use Node.js ${{ matrix.node }}
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
2424
with:
2525
node-version: ${{ matrix.node }}
2626
- run: npm ci
@@ -46,18 +46,18 @@ jobs:
4646
if: github.ref == 'refs/heads/develop'
4747

4848
steps:
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v3
5050
with:
5151
token: ${{ secrets.GITHUB_TOKEN }}
5252
- name: Use Node.js ${{ matrix.node }}
53-
uses: actions/setup-node@v1
53+
uses: actions/setup-node@v3
5454
with:
5555
node-version: ${{ matrix.node }}
5656

5757
- name: Add msbuild to PATH
5858
# we need msbuild tools for the `bigint-buffer` module
5959
if: startsWith(matrix.os, 'windows-')
60-
uses: microsoft/setup-msbuild@v1.0.2
60+
uses: microsoft/setup-msbuild@v1.1
6161

6262
- name: install node tools
6363
# we don't need to install the windows-build-tools package, as we

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
TAG: ${{ steps.set_tag_output.outputs.TAG }}
1717
VERSION: ${{ steps.set_version_output.outputs.VERSION }}
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
with:
2121
token: ${{ secrets.GITHUB_TOKEN }}
2222
# we need all commit history so we can merge master into develop
2323
fetch-depth: 0
24-
- uses: actions/setup-node@v1
24+
- uses: actions/setup-node@v3
2525
with:
2626
# use node 14 until we can evaluate using npm 7+ and lock file version 2
2727
# this should match the node version used by the "check bundle size"
@@ -174,7 +174,7 @@ jobs:
174174
# because the docker publish action is an action we made, we have to
175175
# check out the repo
176176
- name: Checkout repository
177-
uses: actions/checkout@v2
177+
uses: actions/checkout@v3
178178
with:
179179
token: ${{ secrets.GITHUB_TOKEN }}
180180
- name: Run Ganache's docker publish action

0 commit comments

Comments
 (0)