Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[general] add ci workflow #1

Merged
merged 9 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Node V20
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install

- name: Add generated prisma types
run: pnpm exec prisma generate

- name: Lint Project
run: pnpm lint

- name: Type Check Project
run: pnpm typecheck

- name: Build Project
run: echo "🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉"
28 changes: 0 additions & 28 deletions .github/workflows/build.yml

This file was deleted.

4 changes: 4 additions & 0 deletions notes.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
- import order for eslint
https://dev.to/otamnitram/sorting-your-imports-correctly-in-react-213m


-- pnpm issue with prisma
https://github.com/prisma/prisma/issues/2584#issuecomment-646414549