Skip to content

Commit 2e39f9b

Browse files
committed
Add GitHub Workflow to the Project
1 parent 9adf6c3 commit 2e39f9b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
- name: Install Dependencies
12+
run: npm install -g pnpm && pnpm install
13+
- name: Copy .env.example files
14+
shell: bash
15+
run: find . -type f -name ".env.example" -exec sh -c 'cp "$1" "${1%.*}"' _ {} \;
16+
- name: Typecheck
17+
run: pnpm typecheck
18+
- name: Lint
19+
run: pnpm lint

0 commit comments

Comments
 (0)