chore(deps-dev): bump the eslint group with 3 updates (#833) #1960
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: Test | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["**"] | |
env: | |
# HACK: Dependabot uses Node.js 16.20.1 and npm 8.19.4, so `engine-strict=true` in `.npmrc` fails Dependabot. | |
# See https://github.com/ybiquitous/npm-audit-fix-action/network/updates/689567062 | |
# TODO: Temporarily turn off to work around the CI failure. | |
# See https://github.com/ybiquitous/npm-audit-fix-action/actions/runs/6306636027/job/17122073778#step:3:66 | |
npm_config_engine_strict: false # should be true | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- run: npm install --global npm@9 | |
- run: npm ci | |
- run: git diff --exit-code # check dist/ | |
- run: npm test --ignore-scripts | |
smoke: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./ | |
lint: | |
uses: ybiquitous/.github/.github/workflows/nodejs-lint-reusable.yml@main |