Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Nov 17, 2023
1 parent 60a8045 commit c5764c6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ jobs:
version: 8.6.2

- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
cache-dependency-path: '**/pnpm-lock.yaml'

- name: Install deps
run: pnpm install
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts

# Install playwright's binary under custom directory to cache
- name: Set Playwright path (non-windows)
Expand All @@ -76,7 +77,7 @@ jobs:

- name: Install Playwright
# does not need to explicitly set chromium after https://github.com/microsoft/playwright/issues/14862 is solved
run: pnpx playwright install chromium
run: pnpx playwright@1.39.0 install chromium

- name: Build
run: pnpm run build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vitest": "^0.34.5",
"vitest-e2e": "^0.0.8"
"vitest-e2e": "^0.0.9"
},
"engines": {
"node": ">=16.0.0"
Expand Down
19 changes: 5 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5764c6

Please sign in to comment.