Skip to content
Merged

Swc #1343

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
jobs:
test:
timeout-minutes: 60
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
Expand Down
20 changes: 16 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@
const nextConfig = {
reactStrictMode: true,
images: {
domains: [
'swewoocommerce.dfweb.no',
'res.cloudinary.com',
'via.placeholder.com',
remotePatterns: [
{
protocol: 'https',
hostname: 'swewoocommerce.dfweb.no',
pathname: '**',
},
{
protocol: 'https',
hostname: 'res.cloudinary.com',
pathname: '**',
},
{
protocol: 'https',
hostname: 'via.placeholder.com',
pathname: '**',
},
],
},
};
Expand Down
120 changes: 120 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "next lint",
"format": "prettier --write \"**/*.{js,ts,tsx,json}\"",
"playwright": "npx playwright test",
"playwright:ui": "npx playwright test --ui",
"playwright:debug": "npx playwright test --debug",
"playwright:codegen": "playwright codegen",
"refresh": "rm -rf node_modules && rm package-lock.json && npm i && npm run format"
Expand Down
Loading