refactor: start over with nuxt@3 #1590
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 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@v3 | |
with: | |
node-version: 20.3.1 | |
- name: install pnpm | |
run: npm i -g pnpm | |
- name: install dependencies | |
run: pnpm i | |
- name: validate code style | |
run: pnpm lint | |
- name: build and typecheck | |
run: pnpm build | |
- name: generate static pages | |
run: pnpm generate |