Skip to content

Commit 1f03d00

Browse files
committed
chore(CI): Update to Node 16
1 parent 03b3f31 commit 1f03d00

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

.github/workflows/canary.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Use Node
1919
uses: actions/setup-node@v2
2020
with:
21-
node-version: '15.x'
21+
node-version: 16
2222
- name: Configure Git Credentials
2323
run: |
2424
git config --global user.email "[email protected]"
@@ -32,9 +32,9 @@ jobs:
3232
uses: actions/cache@v2
3333
with:
3434
path: '**/node_modules'
35-
key: ${{ runner.os }}-15-15-yarn-${{ hashFiles('yarn.lock') }}
35+
key: ${{ runner.os }}-16-16-yarn-${{ hashFiles('yarn.lock') }}
3636
restore-keys: |
37-
${{ runner.os }}-15-15-yarn-
37+
${{ runner.os }}-16-16-yarn-
3838
- name: Install Dependencies using Yarn
3939
run: yarn install --ignore-engines && git checkout yarn.lock
4040
- name: Release Canary

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Use Node
2525
uses: actions/setup-node@v2
2626
with:
27-
node-version: '15.x'
27+
node-version: 16
2828
- name: Setup NPM credentials
2929
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
3030
env:
@@ -33,9 +33,9 @@ jobs:
3333
uses: actions/cache@v2
3434
with:
3535
path: '**/node_modules'
36-
key: ${{ runner.os }}-15-15-yarn-${{ hashFiles('yarn.lock') }}
36+
key: ${{ runner.os }}-16-16-yarn-${{ hashFiles('yarn.lock') }}
3737
restore-keys: |
38-
${{ runner.os }}-15-15-yarn-
38+
${{ runner.os }}-16-16-yarn-
3939
- name: Install Dependencies using Yarn
4040
run: yarn install --ignore-engines && git checkout yarn.lock
4141
- name: Build

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
steps:
1616
- name: Checkout Master
1717
uses: actions/checkout@v2
18-
- name: Use Node 15
18+
- name: Use Node
1919
uses: actions/setup-node@master
2020
with:
21-
node-version: 15
21+
node-version: 16
2222
- name: Cache Yarn
2323
uses: actions/cache@v2
2424
with:
2525
path: '**/node_modules'
26-
key: ${{ runner.os }}-15-15-yarn-${{ hashFiles('yarn.lock') }}
26+
key: ${{ runner.os }}-16-16-yarn-${{ hashFiles('yarn.lock') }}
2727
restore-keys: |
28-
${{ runner.os }}-15-15-yarn
28+
${{ runner.os }}-16-16-yarn
2929
- name: Install Dependencies using Yarn
3030
run: yarn install --ignore-engines && git checkout yarn.lock
3131
- name: Lint
@@ -39,17 +39,17 @@ jobs:
3939
steps:
4040
- name: Checkout Master
4141
uses: actions/checkout@v2
42-
- name: Use Node 14
42+
- name: Use Node
4343
uses: actions/setup-node@master
4444
with:
45-
node-version: 15
45+
node-version: 16
4646
- name: Cache Yarn
4747
uses: actions/cache@v2
4848
with:
4949
path: '**/node_modules'
50-
key: ${{ runner.os }}-14-${{matrix.graphql_version}}-yarn-${{ hashFiles('yarn.lock') }}
50+
key: ${{ runner.os }}-16-${{matrix.graphql_version}}-yarn-${{ hashFiles('yarn.lock') }}
5151
restore-keys: |
52-
${{ runner.os }}-14-${{matrix.graphql_version}}-yarn
52+
${{ runner.os }}-16-${{matrix.graphql_version}}-yarn
5353
- name: Use GraphQL v${{matrix.graphql_version}}
5454
run: node ./scripts/match-graphql.js ${{matrix.graphql_version}}
5555
- name: Install Dependencies using Yarn
@@ -62,12 +62,12 @@ jobs:
6262
strategy:
6363
matrix:
6464
os: [ubuntu-latest, windows-latest]
65-
node_version: [10, 15]
65+
node_version: [10, 16]
6666
graphql_version: [14, 15]
6767
steps:
6868
- name: Checkout Master
6969
uses: actions/checkout@v2
70-
- name: Use Node ${{matrix.node_version}}
70+
- name: Use Node
7171
uses: actions/setup-node@master
7272
with:
7373
node-version: ${{ matrix.node_version }}

.github/workflows/website.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
- name: Use Node
2828
uses: actions/setup-node@v2
2929
with:
30-
node-version: '15.x'
30+
node-version: 16
3131
- name: Cache Yarn
3232
uses: actions/cache@v2
3333
with:
3434
path: '**/node_modules'
35-
key: ${{ runner.os }}-15-15-yarn-${{ hashFiles('yarn.lock') }}
35+
key: ${{ runner.os }}-16-16-yarn-${{ hashFiles('yarn.lock') }}
3636
restore-keys: |
37-
${{ runner.os }}-15-15-yarn-
37+
${{ runner.os }}-16-16-yarn-
3838
- name: Install Dependencies using Yarn
3939
run: yarn install --ignore-engines && git checkout yarn.lock
4040
- name: Deploy 🚀

0 commit comments

Comments
 (0)