Skip to content

Commit

Permalink
run npm ci instead of install (#2908)
Browse files Browse the repository at this point in the history
* run npm ci instead of install

* updated package-lock
  • Loading branch information
deepakprabhakara authored Jul 4, 2024
1 parent 15f9fb9 commit 2c6abbf
Show file tree
Hide file tree
Showing 5 changed files with 1,302 additions and 2,400 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- run: npm install
- run: npm ci
- run: npm run check-lint
- run: npm run check-types
- run: npm run check-format
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY package.json package-lock.json ./
COPY npm npm
COPY internal-ui internal-ui
COPY migrate.sh prebuild.ts ./
RUN npm install
RUN npm ci
RUN npm rebuild --arch=x64 --platform=linux --libc=musl sharp


Expand Down
Loading

0 comments on commit 2c6abbf

Please sign in to comment.