mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-07-25 02:20:53 -03:00
Add CodeQL workflow
Add npm audit to the node workflow Remove stepsecurity action from workflows
This commit is contained in:
15
.github/workflows/node-workflow.yml
vendored
15
.github/workflows/node-workflow.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user