-
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 1.03 KB
/
check.yml
File metadata and controls
48 lines (41 loc) · 1.03 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Pull Request Checks
on:
workflow_call:
secrets:
CODECOV_TOKEN:
required: true
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: corepack enable
- run: yarn config set enableImmutableInstalls false
- run: yarn
- run: yarn build
- run: yarn lint
- run: yarn test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
test-pipelines-tsx:
uses: ./.github/workflows/test-pipelines-tsx.yml
test-pipelines-deno:
uses: ./.github/workflows/test-pipelines-deno.yml
test-pipelines-bun:
uses: ./.github/workflows/test-pipelines-bun.yml