Skip to content

Commit

Permalink
disable downloading build step
Browse files Browse the repository at this point in the history
  • Loading branch information
kahboom committed Jun 4, 2024
1 parent 94c6da3 commit b6bf6ad
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,21 @@ jobs:
- name: Checkout 🛎
uses: actions/checkout@v4

- name: Download the build folder
uses: actions/download-artifact@v4
with:
name: build
path: .next

# - name: Start Next.js app
# run: npm run start &
# env:
# NODE_ENV: ${{ matrix.env.name }}
# NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN: ${{ matrix.env.NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN }}

# - name: Wait for Next.js to start
# run: npx wait-on http://localhost:3000
# - name: Download the build folder
# uses: actions/download-artifact@v4
# with:
# name: build
# path: .next

# install npm dependencies, cache them correctly, and run
# all Cypress tests
- name: Run Cypress E2E Tests on Node v${{ matrix.node }}
uses: cypress-io/github-action@v6
with:
browser: ${{ matrix.browser }}
# we have already installed all dependencies above
# the entire command will automatically be prefixed with "npm"
# and we need the second "npm" to execute "cypress run ..." command line
command-prefix: "-H 127.0.0.1 -- npx"
install: false
parallel: true
record: true
start: npm start
Expand Down

0 comments on commit b6bf6ad

Please sign in to comment.