Skip to content

Commit

Permalink
chore(ci): Add code scanning & fix dependabot failures (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue authored Nov 19, 2024
1 parent e11ba4d commit cb011b7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@

name: Node CI

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- '*'

jobs:
test:
Expand All @@ -29,10 +35,10 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -41,11 +47,22 @@ jobs:
node --version
npm --version
- uses: github/codeql-action/init@v3
with:
languages: javascript
queries: security-and-quality
config: |
paths-ignore:
- coverage
- node_modules
- name: npm install and test
run: npm cit
env:
CI: true

- uses: github/codeql-action/analyze@v3

- uses: codecov/codecov-action@v4
if: success()
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@

name: Release Auditing

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- '*'

jobs:
test:
Expand Down

0 comments on commit cb011b7

Please sign in to comment.