Separate app into workspaces, add support for Node.js 18, 20 and 22, drop support for Node.js 16 #576
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: Checks | |
on: | |
push: | |
branches: ['*'] | |
pull_request: | |
branches: [master] | |
env: | |
DO_NOT_TRACK: '1' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
node-version: ['18.x', '20.x'] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: npm ci --prefer-offline | |
- run: npx turbo run checkformat | |
- run: npx turbo run lint | |
- run: npx turbo run build | |
- run: npx turbo run test |