Skip to content

Commit

Permalink
argh
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jul 13, 2022
1 parent 2a975ec commit 9e2d017
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
env:
# not needed for linting
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
Expand All @@ -38,7 +38,7 @@ jobs:
fail-fast: false
matrix:
node-version: [16]
os: [ubuntu-latest , windows-latest]
os: [ubuntu-latest, windows-latest]
e2e-browser: ['chromium']
include:
- node-version: 16
Expand All @@ -53,7 +53,7 @@ jobs:
env:
TURBO_CACHE_KEY: ${{ matrix.os }}-${{ matrix.node-version }}
# Install playwright's binray under node_modules so it will be cached together
PLAYWRIGHT_BROWSERS_PATH: "0"
PLAYWRIGHT_BROWSERS_PATH: '0'
KIT_E2E_BROWSER: ${{matrix.e2e-browser}}
steps:
- run: git config --global core.autocrlf false
Expand All @@ -65,6 +65,7 @@ jobs:
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install
- run: pnpm build
- run: pnpm test
- name: Archive test results
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "monorepo for @sveltejs/kit and friends",
"private": true,
"scripts": {
"build": "turbo run build --filter=./packages/*",
"build": "pnpm --filter \"@sveltejs/*\" test",
"test": "pnpm --filter \"@sveltejs/*\" test",
"check": "turbo run check",
"lint": "turbo run lint",
Expand Down

0 comments on commit 9e2d017

Please sign in to comment.