-
-
Notifications
You must be signed in to change notification settings - Fork 130
28 lines (28 loc) · 758 Bytes
/
ci.yml
File metadata and controls
28 lines (28 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Mobx React Form
on:
push:
branches:
- master
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: npm install --force
- run: npm run cover
- run: npm run coverage:check
- run: npm run build
- run: npm run coverage:report
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: ./coverage/lcov.info
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}