Use port 3000 by default, and fall back to some other arbitrary port … #1790
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: Node CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '22.x' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: ESLint | |
run: pnpm run lint-js | |
- name: TypeScript | |
run: pnpm run lint-ts | |
- name: Unit tests | |
run: pnpm test |