Skip to content

Commit 34e48c5

Browse files
authored
feat: migrate to GitHub actions (#91)
1 parent a028796 commit 34e48c5

File tree

2 files changed

+32
-30
lines changed

2 files changed

+32
-30
lines changed

.circleci/config.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Lint & Type Check
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
analyse:
11+
runs-on: ubuntu-latest
12+
13+
env:
14+
SKIP_YARN_COREPACK_CHECK: 0
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: 'lts/*'
23+
cache: 'yarn'
24+
25+
- name: Install dependencies
26+
run: yarn install
27+
28+
- name: Lint JS Code (ESLint)
29+
run: yarn run lint
30+
31+
- name: Typescript Type Checking (tsc)
32+
run: yarn run typecheck

0 commit comments

Comments
 (0)