Add support for Node.js 22 #534
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: Low Dependencies | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
locked: | |
name: Node ${{ matrix.node-versions }} - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-2019] | |
node-versions: ['18', '20', '21', '22'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Node ${{matrix.node-versions}} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{matrix.node-versions}} | |
- name: Remove Lock File | |
run: rm yarn.lock | |
- name: Force Lowest Dependencies | |
run: node ./scripts/force-lowest-dependencies | |
- name: Install Yarn Dependencies | |
run: yarn install | |
- name: Show Installed Versions | |
run: yarn list --depth=0 | |
- name: Run Tests | |
run: yarn test |