Skip to content

chore: created install workflow config #77

chore: created install workflow config

chore: created install workflow config #77

Workflow file for this run

name: v4.x branch
on:
push:
branches:
- v4.x
jobs:
install:
name: Install
uses: ./.github/workflows/install.yml
checks:
name: Check
needs: [install]
uses: ./.github/workflows/checks.yml
# The security job can't run on pull requests opened from forks because
# Github doesn't pass down the SNYK_TOKEN environment variable.
security:
name: Check Security
needs: [install]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.npm # this is cache where npm installs from before going out to the network
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
- run: npm install --prefer-offline
- run: make secure
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}