Skip to content

Commit 82c958e

Browse files
fix: action rewrite
Start tests for both Jest and Cypress in action
1 parent 91654a3 commit 82c958e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: .github/workflows/nodejs.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,13 @@ jobs:
3636
- name: Tests
3737
uses: cypress-io/github-action@v1
3838
with:
39-
start: npm run serve
39+
build: npm run serve
4040
record: false # cypress.io free recording limit exceeded
4141
wait-on: 'http://localhost:8080'
42-
# run: npm test # run cannot be excuted in `with:`
42+
start: npm test
4343
env:
4444
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
4746
- name: Code Coverage Report
4847
uses: codecov/codecov-action@v1
4948
with:

0 commit comments

Comments
 (0)