Skip to content

Commit e005735

Browse files
Updating the github workflow with npm, as the yarn v1 doesn't support moderate level for security vulnerabilities
1 parent 2df48df commit e005735

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
uses: actions/setup-node@v1
2020
with:
2121
node-version: ${{ matrix.node-version }}
22-
- name: Install Yarn
23-
run: npm install -g yarn
24-
- name: Run yarn
22+
- name: Run npm
2523
run: |
26-
yarn install
27-
yarn run lint
28-
yarn run test
29-
yarn audit --level moderate
24+
npm ci
25+
npm run lint
26+
npm test
27+
- name: Audit dependencies (moderate+)
28+
run: |
29+
npm audit --audit-level=moderate
3030
- name: Run validation
3131
run: ./bin/validate_browser.sh

0 commit comments

Comments
 (0)