Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit c90c246

Browse files
authored
feat(ci): add new sementic release job
1 parent 119feac commit c90c246

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release:
8+
name: Release
9+
runs-on: ubuntu-18.04
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v1
13+
- name: Setup Node.js
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 12
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Release
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}
22+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
23+
run: npx semantic-release

0 commit comments

Comments
 (0)