Skip to content

Commit a6bb968

Browse files
committed
ci: update node version & permissions
1 parent 994c36b commit a6bb968

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Release
22

3+
permissions:
4+
contents: write
5+
36
on:
47
push:
58
tags:
@@ -16,7 +19,7 @@ jobs:
1619
- name: Set node
1720
uses: actions/setup-node@v3
1821
with:
19-
node-version: 16.x
22+
node-version: 18
2023

2124
- run: npx changelogithub
2225
env:

.github/workflows/unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set node
1515
uses: actions/setup-node@v3
1616
with:
17-
node-version: 16.x
17+
node-version: 18
1818

1919
- name: Setup
2020
run: npm i -g @antfu/ni

0 commit comments

Comments
 (0)