Build only common and node #3
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - tmp/windows-node-min-version | |
| jobs: | |
| test-windows-node: | |
| runs-on: windows-2022 # Oldest windows version Github will run | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.18.1 | |
| - name: Install packages | |
| run: pnpm ci | |
| - name: Build packages | |
| run: | | |
| pnpm run --filter ./packages/common build | |
| pnpm run --filter ./packages/node build | |
| - name: Run Node tests | |
| run: pnpm run --filter ./packages/node test |