Skip to content

fix(deps): update dependency espree to v11 #2216

fix(deps): update dependency espree to v11

fix(deps): update dependency espree to v11 #2216

Workflow file for this run

name: "Test"
on:
push:
branches:
- master
pull_request:
types: [assigned, opened, synchronize, reopened, labeled]
env:
MIN_NODE_VERSION: &min_node_version "12"
NPM_CONFIG_AUDIT: "false"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "lts/*"
- name: "Install dependencies"
run: npm install
- name: "Lint sources"
run: npm run lint:sources -- --max-warnings 0
- name: "Lint types"
run: npm run lint:types
test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [*min_node_version, "lts/*"]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node_version }}
- name: "Use npm 8 on Node 12"
if: ${{ matrix.node_version == '12' }}
run: npm install -g npm@8
- name: "Install dependencies"
run: npm install
- name: "Test sources"
run: npm run test:sources
- name: "Test types"
run: npm run test:types
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "lts/*"
- name: "Install dependencies"
run: npm install
- name: "Install benchmark dependencies"
run: npm --prefix bench install --omit=dev
- name: "Run benchmark"
run: |
set -o pipefail
npm run bench 2>&1 | tee "$RUNNER_TEMP/bench.log"
{
echo '```'
sed -r 's/\x1b\[[0-9;]*m//g' "$RUNNER_TEMP/bench.log"
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "lts/*"
- name: "Install dependencies"
run: npm install --ignore-scripts
- name: "Install CLI dependencies"
run: npm --prefix cli install --ignore-scripts
- uses: ./.github/actions/conformance
- uses: actions/upload-artifact@v7
if: always()
with:
name: conformance-results
path: |
tests/conformance/out/conformance.json
tests/conformance/out/conformance.log
tests/conformance/out/conformance-tests.log
tests/conformance/out/failing_tests.txt
if-no-files-found: ignore