File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,22 @@ jobs:
10
10
demo :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
with :
15
15
fetch-depth : 0
16
16
17
17
- name : Install pnpm
18
18
19
19
20
20
- name : Use Node.js v16
21
- uses : actions/setup-node@v2
21
+ uses : actions/setup-node@v3
22
22
with :
23
23
node-version : v16
24
24
registry-url : https://registry.npmjs.org/
25
25
cache : " pnpm"
26
26
27
27
- run : pnpm i && cd packages/schema-org && pnpm build
28
+ - run : cd packages/vite && pnpm build
28
29
- run : cd ./playgrounds/nuxt3/ && pnpm install
29
30
30
31
- name : Install Docs Dependencies
Original file line number Diff line number Diff line change 9
9
release :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v3
13
13
with :
14
14
fetch-depth : 0
15
15
16
16
- name : Install pnpm
17
17
18
18
19
19
- name : Use Node.js v16
20
- uses : actions/setup-node@v2
20
+ uses : actions/setup-node@v3
21
21
with :
22
22
node-version : v16
23
23
registry-url : https://registry.npmjs.org/
24
24
cache : pnpm
25
25
26
- - run : export DEBUG=conventional-github-releaser && npx conventional-github-releaser -p angular
27
- continue-on-error : false
28
- env :
29
- CONVENTIONAL_GITHUB_RELEASER_TOKEN : ${{secrets.GITHUB_TOKEN}}
30
-
31
26
- run : pnpm i && cd packages/schema-org && pnpm build
32
27
- run : cd packages/vite && pnpm build
33
28
- run : cd ./playgrounds/nuxt3/ && pnpm install
39
34
run : pnpm -r publish --access public --no-git-checks
40
35
env :
41
36
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
37
+
38
+ - name : Release Notes
39
+ run : npx changelogen@latest > ${{ github.workspace }}-CHANGELOG.md
40
+
41
+ - name : Trim Release Notes and debug
42
+ run : sed -i '1d;2d' ${{ github.workspace }}-CHANGELOG.md && cat ${{ github.workspace }}-CHANGELOG.md
43
+
44
+ - name : Push release
45
+ uses : softprops/action-gh-release@v1
46
+ with :
47
+ body_path : ${{ github.workspace }}-CHANGELOG.md
Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ jobs:
21
21
fail-fast : false
22
22
23
23
steps :
24
- - uses : actions/checkout@v2
24
+ - uses : actions/checkout@v3
25
25
26
26
- name : Install pnpm
27
27
28
28
29
29
- name : Use Node.js ${{ matrix.node-version }}
30
- uses : actions/setup-node@v2
30
+ uses : actions/setup-node@v3
31
31
with :
32
32
node-version : ${{ matrix.node-version }}
33
33
registry-url : https://registry.npmjs.org/
34
- cache : " pnpm"
34
+ cache : pnpm
35
35
36
36
- run : pnpm i && cd packages/schema-org && pnpm build
37
37
- run : cd packages/vite && pnpm build
You can’t perform that action at this time.
0 commit comments