Update eslint 9.0.0 → 9.13.0 (minor) #402
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: Code Audit | |
on: pull_request | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
permissions: {} | |
strategy: | |
matrix: | |
node-version: [ '18', '20' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Use dependencies cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: npm- | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-fund | |
- name: Update CSS properties | |
if: contains(github.head_ref, 'mdn-browser-compat-data') | |
run: npm run scrape | |
- run: npm run test:ci |