Skip to content

Commit afa9577

Browse files
committed
ci: Update release job and add release git plugin
1 parent 4099068 commit afa9577

4 files changed

Lines changed: 183 additions & 200 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ jobs:
3737
if: github.ref == 'refs/heads/main'
3838

3939
steps:
40+
- name: Checkout repo
41+
uses: actions/checkout@v2
42+
43+
- name: Use Node
44+
uses: actions/setup-node@v1
45+
with:
46+
node-version: '16'
47+
48+
- name: Install deps
49+
uses: bahmutov/npm-install@v1
50+
4051
- name: Release
4152
env:
4253
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@
5454
},
5555
"devDependencies": {
5656
"@graphql-codegen/cli": "^2.1.1",
57+
"@semantic-release/git": "^9.0.0",
5758
"@size-limit/preset-small-lib": "^5.0.3",
5859
"@types/minimatch": "^3.0.5",
5960
"graphql-tag": "^2.12.5",
6061
"husky": "^7.0.1",
61-
"size-limit": "^5.0.3",
6262
"semantic-release": "^17.4.7",
63+
"size-limit": "^5.0.3",
6364
"standard-version": "^9.3.1",
6465
"tsdx": "^0.14.1",
6566
"tslib": "^2.3.1",

release.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
plugins: ['@semantic-release/git'],
3+
};

0 commit comments

Comments
 (0)