Skip to content

Commit f471b0d

Browse files
authored
fix: add semantic-release (#10)
* fix: add semantic-release * fix: updated npm dependencies * fix: added semantic-release on push to master
1 parent 8aa301e commit f471b0d

File tree

4 files changed

+6994
-947
lines changed

4 files changed

+6994
-947
lines changed

.github/workflows/push.yml

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1113
steps:
1214
- uses: actions/checkout@v2
1315
- run: npm ci
@@ -16,3 +18,4 @@ jobs:
1618
- run: npm run lint
1719
- run: npm run pack
1820
- run: npm test
21+
- run: npm run semantic-release

Makefile

+11-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,14 @@ all:
2525

2626
.PHONY: release
2727
release: all
28-
npm prune --production
28+
npm prune --production
29+
30+
.PHONY: semantic-release
31+
semantic-release:
32+
npm ci
33+
npx semantic-release
34+
35+
.PHONY: semantic-release-dry-run
36+
semantic-release-dry-run:
37+
npm ci
38+
npx semantic-release -d

0 commit comments

Comments
 (0)