We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea5922d commit f5485b2Copy full SHA for f5485b2
.github/workflows/release.yml
@@ -0,0 +1,36 @@
1
+name: Release
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+
7
+env:
8
+ HUSKY: 0
9
10
+jobs:
11
+ release:
12
+ permissions:
13
+ contents: write # for release publishing
14
15
+ name: Release
16
+ env:
17
+ commitmsg: ${{ github.event.head_commit.message }}
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout repository
21
+ uses: actions/checkout@v3
22
+ with:
23
+ fetch-depth: 0
24
+ - name: Setup Node.js
25
+ uses: actions/setup-node@v3
26
27
+ node-version: lts/*
28
+ cache: 'yarn'
29
+ - name: Install dependencies Node
30
+ run: yarn install --frozen-lockfile --non-interactive
31
+ - run: yarn build
32
+ - name: Release Node
33
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36
+ run: npx semantic-release
0 commit comments