Skip to content

Commit

Permalink
feat: Add npm audit fix step to GitHub Actions wor
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 4, 2024
1 parent a7dad3a commit de1c4fa
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Install dependencies
run: npm install

- name: Fix vulnerable dependencies
run: npm audit fix

- name: Run tests
run: npm run test

0 comments on commit de1c4fa

Please sign in to comment.