Skip to content

Commit bd80979

Browse files
fix: amazon's yml
1 parent 76f395e commit bd80979

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

amplify.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,14 @@ frontend:
33
phases:
44
preBuild:
55
commands:
6-
- corepack enable
7-
- corepack prepare pnpm@latest --activate
8-
- pnpm install --frozen-lockfile
6+
- npm ci
97
build:
108
commands:
11-
- pnpm run build
9+
- npm run build
1210
artifacts:
13-
# Next.js SSR requires both .next and standalone/serverless files
1411
baseDirectory: .next
1512
files:
1613
- '**/*'
1714
cache:
1815
paths:
1916
- node_modules/**/*
20-
- .pnpm-store/**/*
21-
customHeaders:
22-
- pattern: '**/*'
23-
headers:
24-
- key: Cache-Control
25-
value: public,max-age=0,must-revalidate

0 commit comments

Comments
 (0)