Skip to content

[BREAKING] Drop support for Node.js 10 and 12, ensure in the CI tests are run under multiple Node.js versions #189

[BREAKING] Drop support for Node.js 10 and 12, ensure in the CI tests are run under multiple Node.js versions

[BREAKING] Drop support for Node.js 10 and 12, ensure in the CI tests are run under multiple Node.js versions #189

Workflow file for this run

name: Symfony UX
on:
pull_request:
push:
branches:
- 'main'
jobs:
coding-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Prettier
run: |
yarn
yarn run check-format
tests:
name: Tests (Node.js ${{ matrix.node-versions }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-versions: [ '14', '16', '18', '20', '22', '23' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node ${{matrix.node-versions}}
uses: actions/setup-node@v4
with:
node-version: ${{matrix.node-versions}}
- name: Install Yarn Dependencies
run: yarn install
- name: Tests
run: yarn test