Skip to content

[Snyk] Fix for 2 vulnerabilities #22

[Snyk] Fix for 2 vulnerabilities

[Snyk] Fix for 2 vulnerabilities #22

Workflow file for this run

name: test
on: pull_request
jobs:
test-components:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --immutable
- name: Build Components
run: yarn build