Skip to content

Commit e7e6c8b

Browse files
committed
chore: update build to nodee 16
Signed-off-by: David Nixon <[email protected]>
1 parent 1873107 commit e7e6c8b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v2
1212
with:
13-
node-version: 14
13+
node-version: 16
1414
- run: sudo apt-get update
1515
- run: sudo apt install -y build-essential cmake libsdl2-dev
1616
- run: npm ci
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v2
2424
- uses: actions/setup-node@v2
2525
with:
26-
node-version: 14
26+
node-version: 16
2727
- run: sudo apt-get update
2828
- run: sudo apt install -y build-essential cmake git
2929
- run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v2
3939
- uses: actions/setup-node@v2
4040
with:
41-
node-version: 14
41+
node-version: 16
4242
- name: Install SDL2 with brew
4343
run: brew install sdl2
4444
- name: Compile

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v2
1616
with:
17-
node-version: 14
17+
node-version: 16
1818
- run: sudo apt-get update
1919
- run: sudo apt install -y build-essential cmake libsdl2-dev
2020
- run: npm ci
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/checkout@v2
2727
- uses: actions/setup-node@v2
2828
with:
29-
node-version: 14
29+
node-version: 16
3030
registry-url: https://registry.npmjs.org/
3131
- run: npm publish
3232
env:
@@ -42,7 +42,7 @@ jobs:
4242
# - uses: actions/checkout@v2
4343
# - uses: actions/setup-node@v2
4444
# with:
45-
# node-version: 14
45+
# node-version: 16
4646
# registry-url: https://npm.pkg.github.com/
4747
# - run: npm publish --registry=https://npm.pkg.github.com/
4848
# env:

0 commit comments

Comments
 (0)