Skip to content

Commit

Permalink
Bump node and pnpm versions in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SeppahBaws committed May 19, 2024
1 parent 8188ccf commit f432d9c
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.13.1

- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8

- name: Install dependencies
run: pnpm install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.13.1

- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8

- name: Install dependencies
run: pnpm install
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.13.1

- uses: pnpm/[email protected]
name: Install pnpm
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.13.1

- uses: pnpm/[email protected]
name: Install pnpm
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.13.1

- uses: pnpm/[email protected]
name: Install pnpm
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.13.1

# pnpm

Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}
path: ${{ env.PLAYWRIGHT_BROWSERS_PATH }}

- run: pnpm playwright install
- run: pnpm playwright install --with-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'

# Run tests
Expand All @@ -225,7 +225,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.13.1

- uses: pnpm/[email protected]
name: Install pnpm
Expand Down
2 changes: 1 addition & 1 deletion e2e/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
"@kitql/helpers": "^0.8.2",
"@playwright/test": "1.42.1",
"@playwright/test": "1.44.0",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.5.3",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion e2e/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"react-streaming-compat": "^0.3.18"
},
"devDependencies": {
"@playwright/test": "1.30.0",
"@playwright/test": "1.44.0",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@vitejs/plugin-react": "^3.1.0",
Expand Down
2 changes: 2 additions & 0 deletions e2e/svelte/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ dist-ssr
*.sw?

$houdini
playwright-report
test-results
2 changes: 1 addition & 1 deletion e2e/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@kitql/helpers": "^0.8.2",
"@playwright/test": "1.30.0",
"@playwright/test": "1.44.0",
"@sveltejs/vite-plugin-svelte": "^2.0.2",
"@tsconfig/svelte": "^3.0.0",
"concurrently": "7.1.0",
Expand Down
7 changes: 5 additions & 2 deletions e2e/svelte/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import { defineConfig } from "@playwright/test";

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const reporter = [['list']]
if (process.env.CI) {
reporter.push(['html', { open: 'never' }])
reporter.push(['github'])
}

const config = {
const config = defineConfig({
retries: process.env.CI ? 3 : 0,
testMatch: 'spec.ts',
workers: 5,
reporter,
screenshot: 'only-on-failure',
Expand All @@ -15,6 +18,6 @@ const config = {
port: 3006,
timeout: 120 * 1000,
},
}
});

export default config
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@changesets/changelog-git": "^0.1.14",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.0",
"@playwright/test": "1.30.0",
"@playwright/test": "1.44.0",
"@theguild/eslint-config": "^0.8.0",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/react": "^18.2.22",
Expand Down
34 changes: 17 additions & 17 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 f432d9c

Please sign in to comment.