Skip to content

fix: setup nodejs to v20 for CI scripts #422

fix: setup nodejs to v20 for CI scripts

fix: setup nodejs to v20 for CI scripts #422

Workflow file for this run

name: tests
on:
push:
branches-ignore: [main, 252-patch]
workflow_dispatch:
env:
# This repo currently runs on nodejs@20 due to a depedency that is incompatible with nodejs@22
NODE_VERSION_OVERRIDE: 'lts/-1'
jobs:
yarn-lockfile-check:
uses: salesforcecli/github-workflows/.github/workflows/lockFileCheck.yml@main
# Since the Windows unit tests take much longer, we run the linux unit tests first and then run the windows unit tests in parallel with NUTs
linux-unit-tests:
needs: yarn-lockfile-check
uses: salesforcecli/github-workflows/.github/workflows/unitTestsLinux.yml@main
with:
skipTsDepCheck: true
windows-unit-tests:
needs: linux-unit-tests
uses: salesforcecli/github-workflows/.github/workflows/unitTestsWindows.yml@main
nuts:
needs: linux-unit-tests
uses: salesforcecli/github-workflows/.github/workflows/nut.yml@main
secrets: inherit
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
fail-fast: false
with:
os: ${{ matrix.os }}