Skip to content

Commit 3ccb9b8

Browse files
committed
ci: fix semantic-release config, release gh action
1 parent 96e2203 commit 3ccb9b8

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,19 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v1
13-
- uses: actions/setup-node@v1
12+
- name: Checkout
13+
uses: actions/checkout@v2
1414
with:
15-
node-version: 12
15+
fetch-depth: 0
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: 14
1620
registry-url: https://registry.npmjs.org/
17-
- run: npm ci
21+
- name: Install dependencies
22+
run: npm ci
23+
- name: Build
24+
run: npm run build --if-present
1825
- name: Release
1926
env:
2027
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.releaserc.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
{
2-
"plugins": [
3-
"@semantic-release/commit-analyzer",
4-
"@semantic-release/release-notes-generator",
5-
"@semantic-release/changelog",
6-
"@semantic-release/npm",
7-
"@semantic-release/git"
8-
],
9-
}
1+
branches:
2+
- name: master

0 commit comments

Comments
 (0)