-
-
Notifications
You must be signed in to change notification settings - Fork 215
34 lines (31 loc) · 861 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Node CI Pull request
concurrency:
group: pr-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- "**"
jobs:
build:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/ci-setup
- name: run all checks and get coverage
run: yarn run all-checks
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
directory: packages/rooks/src/coverage
size-limit:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/ci-setup
- uses: andresz1/size-limit-action@v1.7.0
with:
directory: "packages/rooks"
github_token: ${{ secrets.GITHUB_TOKEN }}