Skip to content

Commit 4c27581

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent 7853e17 commit 4c27581

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,37 @@ jobs:
1515
node-version: 14
1616

1717
- run: npm install
18-
- run: npm run build
18+
- run: npm run build
19+
20+
- name: Create Tag
21+
id: create_tag
22+
uses: jaywcjlove/[email protected]
23+
with:
24+
token: ${{ secrets.GITHUB_TOKEN }}
25+
package-path: ./package.json
26+
27+
- name: Generate Changelog
28+
id: changelog
29+
uses: jaywcjlove/[email protected]
30+
if: steps.create_tag.outputs.successful
31+
with:
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
head-ref: ${{steps.create_tag.outputs.version}}
34+
filter-author: (renovate-bot|Renovate Bot)
35+
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
36+
37+
- name: Create Release
38+
uses: jaywcjlove/[email protected]
39+
with:
40+
package-path: ./package.json
41+
release: true
42+
body: |
43+
${{ steps.changelog.outputs.compareurl }}
44+
45+
${{ steps.changelog.outputs.changelog }}
46+
47+
- name: 📦 @tsbb/babel-preset-tsbb publish to NPM
48+
uses: JS-DevTools/npm-publish@v1
49+
with:
50+
token: ${{ secrets.NPM_TOKEN }}
51+
package: ./package.json

0 commit comments

Comments
 (0)