Skip to content
Merged
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
18 changes: 14 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm test -- --coverage
- run: npx eslint src/ index.js functions.js __tests__/
- name: Security audit
run: npm audit --audit-level=moderate || true
- name: Upload coverage
Expand All @@ -27,7 +26,18 @@ jobs:
name: coverage
path: coverage/

bazel:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npx eslint src/ index.js functions.js __tests__/

ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -41,7 +51,7 @@ jobs:

sbom:
runs-on: ubuntu-latest
needs: test
needs: [test, lint]
if: github.ref == 'refs/heads/main'
permissions:
contents: read
Expand All @@ -64,7 +74,7 @@ jobs:

provenance:
runs-on: ubuntu-latest
needs: test
needs: [test, lint]
if: github.ref == 'refs/heads/main'
permissions:
contents: read
Expand Down