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 e7cf62d
Show file tree
Hide file tree
Showing 3 changed files with 1,168 additions and 10 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
name: Typecheck and Build Nuxt App
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- 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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"nuxt": "^3.13.2",
"pg": "^8.13.0",
"vue": "latest",
"vue-router": "latest"
"vue-router": "latest",
"webtorrent": "^2.5.1"
},
"packageManager": "[email protected]+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0",
"devDependencies": {
Expand Down
Loading

0 comments on commit e7cf62d

Please sign in to comment.