Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/sqlpad-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
- name: Build, test, and audit immutable runtime
run: |
chmod 600 ops/sqlpad/{server,client}/package*.json
Expand Down
2 changes: 1 addition & 1 deletion ops/sqlpad/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN npm ci --prefix server --ignore-scripts --omit=optional --no-audit --no-fund
RUN SQLPAD_BACKEND_DB_URI='' AWS_EC2_METADATA_DISABLED=true npm test --prefix server
RUN npm prune --prefix server --omit=dev --omit=optional --ignore-scripts --no-audit --no-fund
RUN (npm audit --prefix server --omit=dev --json > /src/server-audit.json || true) && node audit-check.mjs server server-audit.json
RUN npm ci --prefix client --legacy-peer-deps --no-audit --no-fund && npm run build --prefix client
RUN npm ci --prefix client --ignore-scripts --legacy-peer-deps --no-audit --no-fund && npm run build --prefix client
RUN (npm audit --prefix client --omit=dev --json > /src/client-audit.json || true) && node audit-check.mjs client client-audit.json
RUN rm -rf server/public server/test && mkdir server/public && cp -a client/build/. server/public/

Expand Down
Loading