Skip to content

Commit

Permalink
chore: use node 18/20 in actions (#3394)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Oct 30, 2023
1 parent f26b79e commit 7b8d2e7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 16
node-version: 20
cache: 'yarn'

- uses: docker/setup-buildx-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: 16
node-version: 20
cache: 'yarn'

- uses: docker/setup-buildx-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v3

Expand All @@ -36,7 +36,7 @@ jobs:
dockerRunArgs: |
--volume "${PWD}:/app"
base_image: arm64v8/node:16-bullseye
base_image: arm64v8/node:18-bullseye

# Rebuild .node modules for am64
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/package_armv7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.20.2] # NB: when pkg-fetch bumps binaries, this must be updated
node-version: [18.18.2] # NB: when pkg-fetch bumps binaries, this must be updated
steps:
- uses: actions/checkout@v3

- name: Use Node.js 16
- name: Use Node.js 18.18.2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
Expand All @@ -43,7 +43,7 @@ jobs:
dockerRunArgs: |
--volume "${PWD}:/app"
base_image: arm32v7/node:16-bullseye
base_image: arm32v7/node:18-bullseye

# Rebuild .node modules for amv7
run: |
Expand All @@ -55,8 +55,8 @@ jobs:
mkdir -p ~/.cache/pkg
export PKG_CACHE_PATH=~/.cache/pkg
export PKG_IGNORE_TAG=true
curl https://github.com/yao-pkg/pkg-binaries/releases/download/node16/built-v16.20.2-linux-armv7 -LOJ
mv built-v16.20.2-linux-armv7 $PKG_CACHE_PATH/built-v${{ matrix.node-version }}-linux-armv7
curl https://github.com/yao-pkg/pkg-binaries/releases/download/node18/built-v18.18.2-linux-armv7 -LOJ
mv built-v18.18.2-linux-armv7 $PKG_CACHE_PATH/built-v${{ matrix.node-version }}-linux-armv7
yarn pkg --skip-build --arch=armv7
- name: Upload artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
steps:
- name: Checkout master
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/[email protected]
with:
node-version: 18.x
node-version: 20.x
cache: 'yarn'

- name: Update dependency
Expand Down

0 comments on commit 7b8d2e7

Please sign in to comment.