Skip to content

Commit

Permalink
ci: check job
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Dec 3, 2024
1 parent 54834a2 commit 1980622
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:
branches: ["main", "renovate/*"]
tags: ["*"]
pull_request:
branches: ["main"]
workflow_dispatch:

jobs:
check:
if: startsWith(github.ref, 'refs/tags/') != true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: npm ci
- run: npm run typecheck
3 changes: 0 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
modules: ["@nuxtjs/tailwindcss"],
typescript: {
typeCheck: true,
},
runtimeConfig: {
nanapiUrl: "",
nanapiClientUsername: "",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
"postinstall": "nuxt prepare",
"typecheck": "nuxt typecheck"
},
"dependencies": {
"@fullcalendar/core": "6.1.15",
Expand Down

0 comments on commit 1980622

Please sign in to comment.