Skip to content

Commit 594eed8

Browse files
authored
feat: upgrade CI workflows to Node.js 20 (#18)
1 parent c649693 commit 594eed8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Setup Node.js
5555
uses: actions/setup-node@v3
5656
with:
57-
node-version: 16
57+
node-version: 20
5858

5959
- name: Fetch Previous version
6060
id: get-previous-tag

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
steps:
3434

3535
- uses: actions/checkout@v2
36+
- name: Setup Node.js
37+
uses: actions/setup-node@v3
38+
with:
39+
node-version: 20
3640
- name: Run semantic-release
3741
if: github.repository == 'casbin/zap-logger' && github.event_name == 'push'
3842
run: |

0 commit comments

Comments
 (0)