Skip to content

Commit cb4e44e

Browse files
committed
ci: fix permission, upgrade node version
1 parent f6b3110 commit cb4e44e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set node
1919
uses: actions/setup-node@v2
2020
with:
21-
node-version: 16.x
21+
node-version: lts/*
2222

2323
- run: corepack enable
2424

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
1214
- uses: actions/checkout@v3
1315
with:
1416
fetch-depth: 0
1517

1618
- uses: actions/setup-node@v3
1719
with:
18-
node-version: 16.x
20+
node-version: lts/*
1921

2022
- run: npx changelogithub
2123
env:

0 commit comments

Comments
 (0)