Skip to content

Commit

Permalink
ci: let's see if it works without moving the directory
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Dec 18, 2024
1 parent a2a7a3c commit 228b568
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.os == 'windows-latest' }}
env:
# Sometimes the Linux runner can't verify Cypress in 30s
CYPRESS_VERIFY_TIMEOUT: 60000
CYPRESS_INSTALL_BINARY: 0
CHROMEDRIVER_SKIP_DOWNLOAD: true
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
Expand All @@ -66,15 +66,13 @@ jobs:
playground
key: ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Build the package on cache miss
run: pnpm install && pnpm build && pnpm snapshot
- name: Move playground
run: echo "{}" > playground/package.json && mv playground ../playground
run: pnpm install && pnpm build && pnpm snapshot && echo "{}" > playground/package.json
- name: Install dependencies in playground
working-directory: ../playground
working-directory: ./playground
run: pnpm install --no-frozen-lockfile -r

- name: Run build script in playground
working-directory: ../playground
working-directory: ./playground
run: pnpm --filter "*" build

# test-vitest:
Expand Down

0 comments on commit 228b568

Please sign in to comment.