Protect CI against supply chain attack on nodejs
This commit is contained in:
parent
042feacf3e
commit
e15c11961f
2 changed files with 15 additions and 2 deletions
7
.github/workflows/test-unit.yaml
vendored
7
.github/workflows/test-unit.yaml
vendored
|
|
@ -80,7 +80,12 @@ jobs:
|
|||
cache: 'yarn'
|
||||
cache-dependency-path: webui/yarn.lock
|
||||
|
||||
- name: Setup safe-chain
|
||||
run: |
|
||||
npm i -g @aikidosec/safe-chain
|
||||
safe-chain setup-ci
|
||||
|
||||
- name: UI unit tests
|
||||
run: |
|
||||
yarn --cwd webui install
|
||||
yarn --cwd webui install --ignore-scripts
|
||||
yarn --cwd webui test:unit:ci
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue