chore: run on ubuntu lts #1848
Workflow file for this run
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.js CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint and Test | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
node-version: [22.x] | |
steps: | |
- name: Checkout Source Files | |
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | |
- name: Use Node.js v${{ matrix.node-version }} | |
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Verify Build | |
run: pnpm run build | |
- name: Lint Source Files | |
run: pnpm run lint | |
- name: Run Tests | |
run: pnpm run test |