Skip to content

Commit

Permalink
Run npm ci instead of npm install
Browse files Browse the repository at this point in the history
Since we already keep package-lock.json
  • Loading branch information
niclimcy authored and luk1337 committed Jan 5, 2024
1 parent 2c902c0 commit c54a473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2

- name: Run [install, lint, format]
- name: Run [ci, lint, format]
run: |
npm install
npm ci
npm run lint
npm run format -- --check --no-write
2 changes: 1 addition & 1 deletion fly/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:18 as builder
COPY . /app
COPY fly/.env.production /app
WORKDIR /app
RUN npm install && npm run build
RUN npm ci && npm run build

FROM caddy:2
COPY --from=builder /app/dist/ /usr/share/caddy/
Expand Down

0 comments on commit c54a473

Please sign in to comment.