File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 66 - " *"
77
88jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ node-version : [18.x]
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - name : Use Node.js ${{ matrix.node-version }}
18+ uses : actions/setup-node@v3
19+ with :
20+ node-version : ${{ matrix.node-version }}
21+ - run : npm ci
22+
23+ - name : Run Jest tests
24+ run : npx test
25+
926 build :
1027 runs-on : ubuntu-latest
28+ needs : test
1129 strategy :
1230 matrix :
1331 node-version : [18.x]
@@ -23,16 +41,16 @@ jobs:
2341 - name : Write firefox manifest version json
2442 run : cat <<< $(jq '.version="${{github.ref_name}}"' public/manifest.firefox.json) > public/manifest.firefox.json
2543
26-
2744 - name : Use Node.js ${{ matrix.node-version }}
2845 uses : actions/setup-node@v3
2946 with :
3047 node-version : ${{ matrix.node-version }}
3148 - run : npm ci
49+
3250 - run : npm run build-zip
3351 - run : npm run build-firefox-zip
3452
3553 - uses : ncipollo/release-action@v1
3654 with :
3755 artifacts : " *.zip"
38- body : " [Change Log](https://github.com/ttop32/MouseTooltipTranslator/blob/main/doc/description.md#change-log)"
56+ body : " [Change Log](https://github.com/ttop32/MouseTooltipTranslator/blob/main/doc/description.md#change-log)"
You can’t perform that action at this time.
0 commit comments