Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,22 @@ jobs:
- name: Build
run: npm run build

- name: Install Cypress
- name: Cache Cypress binary
uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('package-lock.json') }}

- name: Verify Cypress binary and manually install if needed
run: npx cypress verify || npx cypress install
working-directory: packages/fontpicker

- name: Setup Cypress
uses: cypress-io/github-action@v6
with:
install: false
runTests: false
working-directory: packages/fontpicker

- name: Test using Cypress - E2E
uses: cypress-io/github-action@v6
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore-scripts=true
Loading