Separate app into workspaces, add support for Node.js 18, 20 and 22, drop support for Node.js 16 #546
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] | |
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: npm run checkformat -ws --if-present | |
- run: npm run build -w @eop/shared | |
- run: npm run lint -ws --if-present | |
- run: npm run build -ws --if-present | |
- run: npm test -ws --if-present |