Skip to content

chore(deps): update eslint ecosystem (major) #8497

chore(deps): update eslint ecosystem (major)

chore(deps): update eslint ecosystem (major) #8497

name: test-javascript
permissions: {}
on:
push:
branches:
- main
- renovate/**
paths:
- javascript/**
- .github/**
- Makefile
pull_request:
branches:
- main
paths:
- javascript/**
- .github/**
- Makefile
jobs:
test-javascript:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node-version: [22.x, 24.x]
include:
- os: windows-latest
node-version: 22.x
- os: macos-latest
node-version: 22.x
steps:
- name: set git core.autocrlf to 'input'
run: git config --global core.autocrlf input
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: with Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
working-directory: javascript
- run: npm run build
working-directory: javascript
- run: npm run lint
working-directory: javascript
- run: npm test
working-directory: javascript
test-acceptance:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.58.2-jammy
strategy:
fail-fast: false
matrix:
node-version: [22.x, 24.x]
steps:
- name: set git core.autocrlf to 'input'
run: git config --global core.autocrlf input
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
working-directory: javascript
- run: npm run build
working-directory: javascript
- name: Acceptance tests
working-directory: javascript
run: npx playwright test