Skip to content

add nuxt typecheck and build github CI #1

add nuxt typecheck and build github CI

add nuxt typecheck and build github CI #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Typecheck and Build Nuxt App
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js and pnpm
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Typecheck
run: pnpm nuxt typecheck
- name: Build
run: pnpm nuxt build