Skip to content

Commit

Permalink
Disable security checks workflow job (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryuni authored Mar 15, 2022
1 parent 9d35734 commit b159285
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/branch-validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@ on:
- opened

jobs:
security-checks:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12

- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v1
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: npm ci

- name: Check dependency vulnerabilities
run: |-
npm i -g npm-audit-resolver
npx check-audit
# security-checks:
# runs-on: ubuntu-18.04
# steps:
# - uses: actions/checkout@v1
# - uses: actions/setup-node@v1
# with:
# node-version: 12

# - name: Cache dependencies
# id: cache-dependencies
# uses: actions/cache@v1
# with:
# path: node_modules
# key: node_modules-${{ hashFiles('**/package-lock.json') }}

# - name: Install dependencies
# if: steps.cache-dependencies.outputs.cache-hit != 'true'
# run: npm ci

# - name: Check dependency vulnerabilities
# run: |-
# npm i -g npm-audit-resolver
# npx check-audit

validate:
runs-on: ubuntu-18.04
Expand Down

0 comments on commit b159285

Please sign in to comment.