diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91f752c0a..2773157b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,19 +66,18 @@ jobs: run: | docker exec -t e2e-requestor-1 /bin/sh -c "cd /golem-js && npm i && npm run build && ./node_modules/.bin/cypress install" - # - name: Start the e2e test - # run: docker exec -t e2e-requestor-1 /bin/sh -c "cd /golem-js && npm i && npm run test:e2e" + - name: Start the e2e test + run: docker exec -t e2e-requestor-1 /bin/sh -c "cd /golem-js && npm i && npm run test:e2e" #region Cypress test execution - name: Run web server run: | docker exec -t -d e2e-requestor-1 /bin/sh -c "cd /golem-js/examples/web && node app.mjs" - # - name: Run test suite - # env: - # GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # run: | - # docker exec -t e2e-requestor-1 /bin/sh -c "cd /golem-js && npm run test:cypress -- --browser chromium" + - name: Run test suite + run: | + docker exec -t e2e-requestor-1 /bin/sh -c "cd /golem-js && npm run test:cypress -- --browser chromium" + - name: Run the Examples tests run: | docker exec -t e2e-requestor-1 /bin/sh -c "cd /golem-js && npm install --prefix examples && npm install ts-node && npm run test:examples -- --exitOnError"