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:
1010 demo :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
13+ - uses : actions/checkout@v3
1414 with :
1515 fetch-depth : 0
1616
1717 - name : Install pnpm
18181919
2020 - name : Use Node.js v16
21- uses : actions/setup-node@v2
21+ uses : actions/setup-node@v3
2222 with :
2323 node-version : v16
2424 registry-url : https://registry.npmjs.org/
2525 cache : " pnpm"
2626
2727 - run : pnpm i && cd packages/schema-org && pnpm build
28+ - run : cd packages/vite && pnpm build
2829 - run : cd ./playgrounds/nuxt3/ && pnpm install
2930
3031 - name : Install Docs Dependencies
Original file line number Diff line number Diff line change 99 release :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v3
1313 with :
1414 fetch-depth : 0
1515
1616 - name : Install pnpm
17171818
1919 - name : Use Node.js v16
20- uses : actions/setup-node@v2
20+ uses : actions/setup-node@v3
2121 with :
2222 node-version : v16
2323 registry-url : https://registry.npmjs.org/
2424 cache : pnpm
2525
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-
3126 - run : pnpm i && cd packages/schema-org && pnpm build
3227 - run : cd packages/vite && pnpm build
3328 - run : cd ./playgrounds/nuxt3/ && pnpm install
3934 run : pnpm -r publish --access public --no-git-checks
4035 env :
4136 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:
2121 fail-fast : false
2222
2323 steps :
24- - uses : actions/checkout@v2
24+ - uses : actions/checkout@v3
2525
2626 - name : Install pnpm
27272828
2929 - name : Use Node.js ${{ matrix.node-version }}
30- uses : actions/setup-node@v2
30+ uses : actions/setup-node@v3
3131 with :
3232 node-version : ${{ matrix.node-version }}
3333 registry-url : https://registry.npmjs.org/
34- cache : " pnpm"
34+ cache : pnpm
3535
3636 - run : pnpm i && cd packages/schema-org && pnpm build
3737 - run : cd packages/vite && pnpm build
You can’t perform that action at this time.
0 commit comments