Skip to content
Closed
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: 4 additions & 0 deletions .github/workflows/github-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ concurrency:
cancel-in-progress: false

jobs:
test:
uses: ./.github/workflows/test.yml

build:
runs-on: ubuntu-latest
needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Lint

on:
pull_request:
branches:
- main
- dev
workflow_call:

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Run lint
run: npm run lint
4 changes: 4 additions & 0 deletions .github/workflows/netlify-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches:
- main

concurrency:
group: netlify-production
cancel-in-progress: false

jobs:
call-test:
uses: ./.github/workflows/test.yml
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Quality Checks

on:
pull_request:
branches:
- main
- dev

permissions: {}

jobs:
test:
uses: ./.github/workflows/test.yml

lint:
uses: ./.github/workflows/lint.yml
34 changes: 34 additions & 0 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Security Audit

on:
pull_request:
branches:
- main
- dev
schedule:
- cron: '0 0 * * 0'

permissions:
contents: read

jobs:
security-audit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Run security audit
run: npm audit --audit-level=moderate

- name: Check for outdated dependencies
run: npm outdated || true
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ jobs:

- name: Run tests
run: npm test

- name: Verify build
run: npm run build
Loading