Skip to content

Commit c6837ec

Browse files
committed
Add template engine and Jest timmson#18
1 parent be734a4 commit c6837ec

1 file changed

Lines changed: 28 additions & 30 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,33 +25,31 @@ jobs:
2525
env:
2626
CI: true
2727

28-
&& cd ./quiz && npm run prod && cd ../mindmap && npm run prod
29-
30-
- name: Quiz Test & Generate
31-
run: |
32-
cd ./quiz
33-
npm i
34-
npm run prod
35-
env:
36-
CI: true
37-
38-
- name: Mindmad Test & Generate
39-
run: |
40-
cd ./mindmap
41-
npm i
42-
npm run prod
43-
env:
44-
CI: true
45-
46-
- name: Commit files
47-
run: |
48-
git config --local user.email "java-interview[bot]@users.noreply.github.com"
49-
git config --local user.name "java-interview[bot]"
50-
git add -A
51-
git diff-index --quiet HEAD || git commit -m "Generate index"
52-
53-
- name: Push changes
54-
uses: ad-m/github-push-action@master
55-
with:
56-
github_token: ${{ secrets.GITHUB_TOKEN }}
57-
branch: ${{ github.ref }}
28+
- name: Quiz Test & Generate
29+
run: |
30+
cd ./quiz
31+
npm i
32+
npm run prod
33+
env:
34+
CI: true
35+
36+
- name: Mindmad Test & Generate
37+
run: |
38+
cd ./mindmap
39+
npm i
40+
npm run prod
41+
env:
42+
CI: true
43+
44+
- name: Commit files
45+
run: |
46+
git config --local user.email "java-interview[bot]@users.noreply.github.com"
47+
git config --local user.name "java-interview[bot]"
48+
git add -A
49+
git diff-index --quiet HEAD || git commit -m "Generate index"
50+
51+
- name: Push changes
52+
uses: ad-m/github-push-action@master
53+
with:
54+
github_token: ${{ secrets.GITHUB_TOKEN }}
55+
branch: ${{ github.ref }}

0 commit comments

Comments
 (0)