Skip to content

Commit

Permalink
fix: added build step
Browse files Browse the repository at this point in the history
Build step had been removed.
  • Loading branch information
BKristenssonAlfsson committed Jun 12, 2020
1 parent 529f253 commit 1e33ffc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ jobs:
- name: Tests
uses: cypress-io/github-action@v1
with:
build: npm run serve
start: npm run serve
record: false # cypress.io free recording limit exceeded
wait-on: 'http://localhost:8080'
command: npm run test:e2e
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -49,7 +48,12 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
file: ./coverage/coverage-final.json # optional
fail_ci_if_error: true # optional (default = false)

- name: Build PWA distribution for production
run: |
npm run build --if-present
npm test
env:
CI: true
- name: Run Lighthouse PWA check against local production build
uses: treosh/lighthouse-ci-action@v2
with:
Expand Down

0 comments on commit 1e33ffc

Please sign in to comment.