Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Marcotte committed Sep 8, 2023
1 parent b1dbb06 commit 17b226e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/centraldb_frontend_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ jobs:
npm i --legacy-peer-deps
CHROMIUM_BIN=$(which chrome) npm run test
cypress-run:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v6
- name: Setup node version to 16
uses: actions/setup-node@v3
with:
working-directory: components/centraldashboard
install-command: npm i --legacy-peer-deps
build: npm run build
start: npm start
wait-on: http://localhost:8080
node-version: 16
- name: Serve UI & run Cypress tests in Chrome and Firefox
run: |
cd components/centraldashboard
npm i --legacy-peer-deps
npm run serve & npx wait-on http://localhost:8080
npm run ui-test-ci-all
# run-ui-tests:
# name: UI tests with Cypress
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 17b226e

Please sign in to comment.