Skip to content

Commit

Permalink
build: for the policy webapp, use npm ci rather than npm install
Browse files Browse the repository at this point in the history
…in order to respect package-lock.json
  • Loading branch information
gkc committed Oct 14, 2024
1 parent 12c8909 commit d5f7e87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/multibuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
working-directory: ./apps/admin/webapp
run: |
npm install -g [email protected]
npm install
npm ci
npm run build
- if: ${{ matrix.os != 'windows-latest' }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion packages/dart/sshnoports/buildArchive
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ wait
cd ../webapp || exit 1
echo "Building admin webapp"
npm install -g [email protected] || exit 1
npm install || exit 1
npm ci || exit 1
npm run build || exit 1

wait
Expand Down
2 changes: 1 addition & 1 deletion tools/multibuild/Dockerfile.package
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN dart pub get --enforce-lockfile; \

# Build apps/admin/webapp
WORKDIR /noports/apps/admin/webapp
RUN npm install; \
RUN npm ci; \
npm run build; \
mkdir -p /sshnp/web/admin; \
cp -r ./dist/* /sshnp/web/admin/
Expand Down

0 comments on commit d5f7e87

Please sign in to comment.