chore(deps): update dependency node to v22 #3455
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: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.14.0 | |
- name: install pnpm | |
run: npm i -g pnpm | |
- name: install dependencies | |
run: pnpm i | |
- name: validate code style | |
run: pnpm lint | |
- name: typecheck | |
run: pnpm typecheck | |
- name: build | |
run: pnpm build | |
- name: generate static pages | |
run: pnpm generate |