Skip to content

Commit 60868c9

Browse files
authored
Merge pull request #1343 from w3bdesign/develop
Swc
2 parents e3709da + 8bbd581 commit 60868c9

File tree

4 files changed

+139
-6
lines changed

4 files changed

+139
-6
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
jobs:
88
test:
99
timeout-minutes: 60
10-
runs-on: windows-latest
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 18
15+
node-version: 20
1616
- name: Install dependencies
1717
run: npm ci
1818
- name: Install Playwright Browsers

next.config.js

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,22 @@
22
const nextConfig = {
33
reactStrictMode: true,
44
images: {
5-
domains: [
6-
'swewoocommerce.dfweb.no',
7-
'res.cloudinary.com',
8-
'via.placeholder.com',
5+
remotePatterns: [
6+
{
7+
protocol: 'https',
8+
hostname: 'swewoocommerce.dfweb.no',
9+
pathname: '**',
10+
},
11+
{
12+
protocol: 'https',
13+
hostname: 'res.cloudinary.com',
14+
pathname: '**',
15+
},
16+
{
17+
protocol: 'https',
18+
hostname: 'via.placeholder.com',
19+
pathname: '**',
20+
},
921
],
1022
},
1123
};

package-lock.json

Lines changed: 120 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"lint": "next lint",
1010
"format": "prettier --write \"**/*.{js,ts,tsx,json}\"",
1111
"playwright": "npx playwright test",
12+
"playwright:ui": "npx playwright test --ui",
1213
"playwright:debug": "npx playwright test --debug",
1314
"playwright:codegen": "playwright codegen",
1415
"refresh": "rm -rf node_modules && rm package-lock.json && npm i && npm run format"

0 commit comments

Comments
 (0)