this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix e2e tests on CI

We had different versions of playwright for installing the browsers than for running the tests, so it could not find them.

Moved the installation to a pre- step, since when the browsers are already installed this command is very fast.

+20 -21
-2
.github/workflows/playwright.yml
··· 15 15 node-version: lts/* 16 16 - name: Install dependencies 17 17 run: npm install -g pnpm && pnpm install 18 - - name: Install Playwright Browsers 19 - run: pnpm dlx playwright install --with-deps 20 18 - name: Run Playwright tests 21 19 run: pnpm e2e 22 20 - uses: actions/upload-artifact@v4
+3 -2
next/api/package.json
··· 10 10 "build:worker": "builder", 11 11 "dev:worker": "wrangler dev --port 8770", 12 12 "preview:worker": "pnpm build:worker && pnpm dev:worker", 13 + "pree2e": "playwright install --with-deps", 13 14 "e2e": "playwright test" 14 15 }, 15 16 "dependencies": { 16 - "next": "14.2.5", 17 17 "builder": "workspace:*", 18 + "next": "14.2.5", 18 19 "react": "^18", 19 20 "react-dom": "^18" 20 21 }, 21 22 "devDependencies": { 22 - "@playwright/test": "^1.46.1", 23 + "@playwright/test": "1.47.0", 23 24 "@types/node": "^22.2.0", 24 25 "node-url": "npm:url@^0.11.4", 25 26 "wrangler": "3.77.0"
+17 -17
pnpm-lock.yaml
··· 25 25 version: 11.0.0 26 26 next: 27 27 specifier: 14.2.5 28 - version: 14.2.5(@playwright/test@1.46.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) 28 + version: 14.2.5(@playwright/test@1.47.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) 29 29 tsup: 30 30 specifier: ^8.2.4 31 31 version: 8.2.4(postcss@8.4.31)(tsx@4.17.0)(typescript@5.5.4) ··· 40 40 version: link:../../builder 41 41 next: 42 42 specifier: 14.2.5 43 - version: 14.2.5(@playwright/test@1.46.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) 43 + version: 14.2.5(@playwright/test@1.47.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) 44 44 react: 45 45 specifier: ^18 46 46 version: 18.3.1 ··· 49 49 version: 18.3.1(react@18.3.1) 50 50 devDependencies: 51 51 '@playwright/test': 52 - specifier: ^1.46.1 53 - version: 1.46.1 52 + specifier: ^1.47.0 53 + version: 1.47.0 54 54 '@types/node': 55 55 specifier: ^22.2.0 56 56 version: 22.2.0 ··· 493 493 resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} 494 494 engines: {node: '>=14'} 495 495 496 - '@playwright/test@1.46.1': 497 - resolution: {integrity: sha512-Fq6SwLujA/DOIvNC2EL/SojJnkKf/rAwJ//APpJJHRyMi1PdKrY3Az+4XNQ51N4RTbItbIByQ0jgd1tayq1aeA==} 496 + '@playwright/test@1.47.0': 497 + resolution: {integrity: sha512-SgAdlSwYVpToI4e/IH19IHHWvoijAYH5hu2MWSXptRypLSnzj51PcGD+rsOXFayde4P9ZLi+loXVwArg6IUkCA==} 498 498 engines: {node: '>=18'} 499 499 hasBin: true 500 500 ··· 1071 1071 resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} 1072 1072 engines: {node: '>= 6'} 1073 1073 1074 - playwright-core@1.46.1: 1075 - resolution: {integrity: sha512-h9LqIQaAv+CYvWzsZ+h3RsrqCStkBHlgo6/TJlFst3cOTlLghBQlJwPOZKQJTKNaD3QIB7aAVQ+gfWbN3NXB7A==} 1074 + playwright-core@1.47.0: 1075 + resolution: {integrity: sha512-1DyHT8OqkcfCkYUD9zzUTfg7EfTd+6a8MkD/NWOvjo0u/SCNd5YmY/lJwFvUZOxJbWNds+ei7ic2+R/cRz/PDg==} 1076 1076 engines: {node: '>=18'} 1077 1077 hasBin: true 1078 1078 1079 - playwright@1.46.1: 1080 - resolution: {integrity: sha512-oPcr1yqoXLCkgKtD5eNUPLiN40rYEM39odNpIb6VE6S7/15gJmA1NzVv6zJYusV0e7tzvkU/utBFNa/Kpxmwng==} 1079 + playwright@1.47.0: 1080 + resolution: {integrity: sha512-jOWiRq2pdNAX/mwLiwFYnPHpEZ4rM+fRSQpRHwEwZlP2PUANvL3+aJOF/bvISMhFD30rqMxUB4RJx9aQbfh4Ww==} 1081 1081 engines: {node: '>=18'} 1082 1082 hasBin: true 1083 1083 ··· 1658 1658 '@pkgjs/parseargs@0.11.0': 1659 1659 optional: true 1660 1660 1661 - '@playwright/test@1.46.1': 1661 + '@playwright/test@1.47.0': 1662 1662 dependencies: 1663 - playwright: 1.46.1 1663 + playwright: 1.47.0 1664 1664 1665 1665 '@rollup/rollup-android-arm-eabi@4.21.0': 1666 1666 optional: true ··· 2148 2148 2149 2149 nanoid@3.3.7: {} 2150 2150 2151 - next@14.2.5(@playwright/test@1.46.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): 2151 + next@14.2.5(@playwright/test@1.47.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): 2152 2152 dependencies: 2153 2153 '@next/env': 14.2.5 2154 2154 '@swc/helpers': 0.5.5 ··· 2169 2169 '@next/swc-win32-arm64-msvc': 14.2.5 2170 2170 '@next/swc-win32-ia32-msvc': 14.2.5 2171 2171 '@next/swc-win32-x64-msvc': 14.2.5 2172 - '@playwright/test': 1.46.1 2172 + '@playwright/test': 1.47.0 2173 2173 transitivePeerDependencies: 2174 2174 - '@babel/core' 2175 2175 - babel-plugin-macros ··· 2220 2220 2221 2221 pirates@4.0.6: {} 2222 2222 2223 - playwright-core@1.46.1: {} 2223 + playwright-core@1.47.0: {} 2224 2224 2225 - playwright@1.46.1: 2225 + playwright@1.47.0: 2226 2226 dependencies: 2227 - playwright-core: 1.46.1 2227 + playwright-core: 1.47.0 2228 2228 optionalDependencies: 2229 2229 fsevents: 2.3.2 2230 2230