Skip to content

Update debricked.yml #3

Update debricked.yml

Update debricked.yml #3

Workflow file for this run

name: Debricked scan
on: [push]
jobs:
vulnerabilities-scan-production:
runs-on: ubuntu-latest
container:
image: debricked/cli:latest-resolution-debian
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Fingerprint files
run: |
cd yarn
rm package.json
rm yarn.lock
cd ..
cd npm
npm install
rm package.json
rm package-lock.json
cd ..
mv npm/node_modules npm/modules
debricked fingerprint npm/modules
- name: Run Scan
run: |
debricked scan
env:
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}
vulnerabilities-scan-staging:
runs-on: ubuntu-latest
container:
image: debricked/cli:latest-resolution-debian
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Fingerprint files
run: |
cd yarn
rm package.json
rm yarn.lock
cd ..
cd npm
npm install
rm package.json
rm package-lock.json
cd ..
mv npm/node_modules npm/modules
debricked fingerprint npm/modules
- name: Run Scan
run: |
debricked scan
env:
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN_STAGING }}
DEBRICKED_URI: 'https://staging.debricked.com'