Skip to content

Commit

Permalink
chore: update cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 3, 2021
1 parent c0de14d commit cee2cd8
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

- name: Install
run: nci
env:
CYPRESS_INSTALL_BINARY: 0

- name: Build
run: nr build
Expand All @@ -58,13 +60,19 @@ jobs:
with:
node-version: 14.x

- name: Setup
run: npm i -g pnpm @antfu/ni
- name: Install
run: nci

- name: Build
run: nr build

- name: Hack Cypress
run: cp pnpm-lock.yaml package-lock.json

- name: Cypress
uses: cypress-io/github-action@v2
with:
install-command: nci
install-command: echo
build: nr build
start: nr cy:fixture

Expand All @@ -84,6 +92,8 @@ jobs:

- name: Install
run: nci
env:
CYPRESS_INSTALL_BINARY: 0

- name: Lint
run: nr lint --if-present

0 comments on commit cee2cd8

Please sign in to comment.