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
20 changes: 10 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
steps:
- uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: block
allowed-endpoints: >
sparrow.cloudflare.com:443
api.cloudflare.com:443
api.github.com:443
github.com:443
hooks.slack.com:443
registry.npmjs.org:443
egress-policy: audit
# allowed-endpoints: >
# sparrow.cloudflare.com:443
# api.cloudflare.com:443
# api.github.com:443
# github.com:443
# hooks.slack.com:443
# registry.npmjs.org:443

- name: Git Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
Expand All @@ -34,7 +34,7 @@ jobs:
cache: 'npm'

- name: Install Dependencies
run: npm install
run: npm ci

- name: Deploy to Staging
if: github.event_name == 'push'
Expand All @@ -48,7 +48,7 @@ jobs:
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: |
npx sentry-cli sourcemaps inject --org nodejs --project dist-worker-staging ./dist && sentry-cli sourcemaps upload --org nodejs --project dist-worker-staging ./dist
npx sentry-cli sourcemaps inject --org nodejs --project dist-worker-staging ./dist && npx sentry-cli sourcemaps upload --org nodejs --project dist-worker-staging ./dist

- name: Deploy to Production
if: github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cache: 'npm'

- name: Install Dependencies
run: npm install
run: npm ci

- name: Run Prettier
run: node --run prettier
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm install
run: npm ci

- name: Run Tests
run: node --run test
2 changes: 1 addition & 1 deletion .github/workflows/update-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm install && npm update nodejs-latest-linker --save
run: npm ci && npm update nodejs-latest-linker --save

- name: Update Redirect Links
run: node scripts/build-r2-symlinks.mjs && node --run format
Expand Down