chore: fix loader-utils vulnerability #793
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test | |
on: | |
push: | |
branches-ignore: | |
- main | |
tags-ignore: | |
- '**' | |
jobs: | |
# Run lint and tests | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Setup node and npm with the versions defined in package.json engines. | |
- name: Install node and npm | |
uses: './.github/actions/install-node-and-npm' | |
- name: Install dependencies | |
run: npm ci --legacy-peer-deps | |
- name: Run lint | |
run: npm run format-check | |
- name: Run unit tests | |
run: npm run test:ci |