Skip to content

Commit ae1f1a7

Browse files
authored
feat: new GA for PRs (#1)
1 parent 80cdedb commit ae1f1a7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
on: [pull_request]
3+
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
7+
8+
jobs:
9+
build_and_deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
15+
- name: Setup
16+
uses: ./.github/actions/setup
17+
18+
- name: Lint files
19+
run: yarn lint
20+
21+
- name: Typecheck files
22+
run: yarn typecheck
23+
24+
- name: Run unit tests
25+
run: yarn test --maxWorkers=2 --coverage
26+
27+
- name: Build package
28+
run: yarn prepack
29+
30+

0 commit comments

Comments
 (0)