File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,24 @@ jobs:
11
11
fetch-depth : 0
12
12
ref : main
13
13
token : ${{ secrets.GIT_ACCESS_TOKEN }}
14
- - name : Deps
15
- run : npm ci
16
- - name : Tests
17
- run : npm run test:coverage
14
+ - uses : actions/setup-node@v3
15
+ with :
16
+ node-version : 16
17
+ registry-url : https://registry.npmjs.org/
18
+ - run : npm ci
19
+ - run : npm run test:coverage
20
+ - run : NODE_ENV=production npm run build
18
21
- name : Generating coverage badges
19
22
uses : jpb06/jest-badges-action@latest
20
23
with :
21
24
branches : main
22
25
no-commit : true
23
- - name : Bump and changelog using commitizen
26
+ - run : git add badges
27
+ - run : npm run version:bump
28
+ - name : Push to GitHub
24
29
run : |
25
- git add badges
26
30
git config user.name "github-actions[bot]"
27
31
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
28
- npm run version:bump
29
32
git push -f
30
33
git push --tags
31
34
- name : Publish to NPM
You can’t perform that action at this time.
0 commit comments