File tree 3 files changed +13
-14
lines changed
3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 32
32
- name : Use Node.js ${{ matrix.node }}
33
33
uses : actions/setup-node@v4
34
34
with :
35
- node-version : ${{ matrix.node }}
36
35
cache : pnpm
36
+ node-version : ${{ matrix.node }}
37
37
38
38
- name : Install dependencies
39
39
run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change 20
20
coverage :
21
21
runs-on : ubuntu-latest
22
22
23
- env :
24
- NODE_VERSION : ' 18'
25
-
26
23
steps :
27
24
- uses : actions/checkout@v4
28
25
32
29
- name : Setup Node.js
33
30
uses : actions/setup-node@v4
34
31
with :
35
- node-version : ${{ env.NODE_VERSION }}
36
32
cache : pnpm
33
+ node-version : lts/*
37
34
38
35
- name : Install dependencies
39
36
run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change 1
1
name : release
2
2
3
+ permissions :
4
+ contents : write
5
+
3
6
on :
4
7
push :
5
8
tags :
6
9
- ' v*'
7
- workflow_dispatch :
8
10
9
11
jobs :
10
12
release :
@@ -18,13 +20,13 @@ jobs:
18
20
- name : Push to release branch
19
21
run : git push origin HEAD:release
20
22
21
- - name : Create release
22
- if : ${{ github.event_name != 'workflow_dispatch' }}
23
- id : release_tag
24
- uses : yyx990803/release-tag@master
23
+ - name : Setup Node.js
24
+ uses : actions/setup-node@v4
25
+ with :
26
+ node-version : lts/*
27
+ registry-url : https://registry.npmjs.org/
28
+
29
+ - name : Create release changelog
30
+ run : npx changelogithub
25
31
env :
26
32
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
- with :
28
- tag_name : ${{ github.ref }}
29
- body : |
30
- Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details.
You can’t perform that action at this time.
0 commit comments