[BREAKING] Drop support for Node.js 10 and 12, ensure in the CI tests are run under multiple Node.js versions #188
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
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 |