Skip to content

Commit

Permalink
update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Nov 27, 2024
1 parent aa0ad04 commit d90995c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 41,843 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest]
node: ['19', '18']
node: [18.17.0, 20.3.0, 21]
name: test/node ${{ matrix.node }}/${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -16,7 +16,11 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: rm -rf node_modules package-lock.json
- run: npm cache clean --force
- run: npm install
env:
SHARP_IGNORE_GLOBAL_LIBVIPS: 1
- run: npm run lint
- run: npm run test
- run: npm run build
Expand Down
4 changes: 3 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ const nextConfig = {
swcMinify: true,
trailingSlash: true,
images: {
unoptimized: true,
formats: ['image/avif', 'image/webp'],
deviceSizes: [320, 420, 768, 1024, 1200],
disableStaticImages: false,
},
};

Expand Down
Loading

0 comments on commit d90995c

Please sign in to comment.