Skip to content

Commit

Permalink
add nuxt typecheck and build github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mirsella committed Oct 16, 2024
1 parent 7bc5900 commit 10dc40f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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

0 comments on commit 10dc40f

Please sign in to comment.