Skip to content

Commit

Permalink
Merge pull request #1343 from w3bdesign/develop
Browse files Browse the repository at this point in the history
Swc
  • Loading branch information
w3bdesign authored Oct 12, 2024
2 parents e3709da + 8bbd581 commit 60868c9
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 6 deletions.
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

0 comments on commit 60868c9

Please sign in to comment.