Skip to content

Commit

Permalink
Merge pull request #1 from sabovyan/setup-workflow
Browse files Browse the repository at this point in the history
[general] add ci workflow
  • Loading branch information
sabovyan authored Nov 21, 2023
2 parents 6b976b7 + 69c44ff commit 817025a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 28 deletions.
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

0 comments on commit 817025a

Please sign in to comment.