Skip to content

Commit

Permalink
ci: add CI pipeline
Browse files Browse the repository at this point in the history
Fixes #136
  • Loading branch information
TheKnarf committed Jan 14, 2025
1 parent 2b9729b commit 5802bdf
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
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:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: 'Test & lint'
runs-on: ubuntu-latest
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Install Packages
run: pnpm install
working-directory: ./app

- name: 'Running Unit Tests'
run: pnpm test
working-directory: ./app

- name: 'Building'
run: pnpm lint
working-directory: ./app
3 changes: 2 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"preview": "vite preview",
"lint": "eslint 'src/**/*.{js,ts,svelte}'",
"format": "prettier . --write .",
"prepare": "svelte-kit sync"
"prepare": "svelte-kit sync",
"test": "echo 'no tests'"
},
"dependencies": {
"@auth/core": "^0.34.1",
Expand Down

1 comment on commit 5802bdf

@vercel
Copy link

@vercel vercel bot commented on 5802bdf Jan 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.