Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kahboom committed Jun 4, 2024
1 parent 23258b0 commit 5c7d5fe
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,27 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Install dependencies
run: npm install

- name: Build Next.js App
run: npm run build
env:
NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN: ${{ matrix.env.NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN }}

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

- name: Install browsers for Cypress
run: |
if [[ "${{ matrix.browser }}" == "chrome" ]]; then
sudo apt-get install -y google-chrome-stable;
elif [[ "${{ matrix.browser }}" == "firefox" ]]; then
sudo apt-get install -y firefox;
fi
# install npm dependencies, cache them correctly, and run
# all Cypress tests
Expand Down

0 comments on commit 5c7d5fe

Please sign in to comment.