Add CodeQL workflow

Add npm audit to the node workflow

Remove stepsecurity action from workflows
This commit is contained in:
Shivam Mathur
2022-01-20 21:45:07 +05:30
parent 2ee6797b63
commit 14a9f0b4ae
4 changed files with 32 additions and 20 deletions

View File

@@ -25,18 +25,6 @@ jobs:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
codecov.io.:443
github.com.:443
nodejs.org.:443
raw.githubusercontent.com.:443
registry.npmjs.org.:443
setup-php.com.:443
storage.googleapis.com.:443
- name: Checkout
uses: actions/checkout@v2
@@ -57,6 +45,9 @@ jobs:
- name: Run tests
run: npm test
- name: Run npm audit
run: npm audit
- name: Send Coverage
continue-on-error: true
timeout-minutes: 1