Skip to content

Commit 508003d

Browse files
authored
chore: Add ci.yml workflow
1 parent 734f3f5 commit 508003d

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Use Node.js 16.x
11+
uses: actions/setup-node@v3
12+
with:
13+
node-version: 16.x
14+
cache: 'npm'
15+
- run: npm ci
16+
- run: npm run all
17+
- name: Release
18+
if: github.ref_name == 'master'
19+
run: npx semantic-release

0 commit comments

Comments
 (0)