-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 825 Bytes
/
Copy pathsecurity.yml
File metadata and controls
29 lines (25 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Security & Dependencies
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 8 * * 1' # Weekly Monday 8am UTC
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
# Install dependencies for build and security checks
- run: yarn install --immutable
# Run comprehensive security and deployment verification
# This includes: typecheck, build, and verification that webpack-dev-server
# is excluded from production output (addressing GHSA-9jgg-88mc-972h, GHSA-4v9v-hfq4-rm2v)
- run: yarn deploy:safe
# Check for outdated dependencies (non-blocking)
- run: yarn outdated || true