Bump eslint from 9.9.1 to 9.12.0 #809
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
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install build dependencies | |
run: sudo apt-get update && sudo apt-get install -y bash inkscape jq | |
- uses: actions/checkout@v4 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
check-latest: true | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npx nyc --reporter=lcov npm test | |
# codecov action breaks some builds for no reason, so we need to ignore its failures. | |
# See: https://github.com/mdesantis/force-english-content/actions/runs/9333212817/job/25689985967 | |
# - run: npx codecov | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v4 | |
# with: | |
# fail_ci_if_error: true | |
# verbose: true | |
# env: | |
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |