Skip to content

Commit

Permalink
Update CI node version to 20 (#659)
Browse files Browse the repository at this point in the history
* Upgrade ci to node 20 + use .node-version

* Update readme ubuntu version
  • Loading branch information
anttiharju authored Oct 15, 2024
1 parent 7ae1fa1 commit f712f0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set Node.js 16.x
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version-file: .node-version
- name: "Install"
run: |
npm install
Expand All @@ -32,10 +31,9 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set Node.js 16.x
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version-file: .node-version
- name: "Build action for test"
run: |
npm install
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ on:

jobs:
is_locked:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
id: is_locked
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit f712f0f

Please sign in to comment.