Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
Use Node.js v18, as v16 is EOL. Also update various actions.
  • Loading branch information
throwaway96 committed Dec 12, 2023
1 parent ea9a65b commit 3f6a5da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

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

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Use Node.js 16.x
uses: actions/setup-node@v1
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18

- run: npm ci
- run: npm run build -- --production
Expand Down

0 comments on commit 3f6a5da

Please sign in to comment.