Skip to content

Commit 4ea8537

Browse files
committed
Revert "chore: merged workflows"
This reverts commit e2fb323.
1 parent b608f3a commit 4ea8537

3 files changed

Lines changed: 50 additions & 37 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build test
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
jobs:
7+
test:
8+
name: Run build
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- name: Install base dependencies
16+
run: |
17+
yarn
18+
cd react
19+
yarn
20+
21+
- name: Build
22+
run: |
23+
yarn build
24+
25+
- name: Check TS declaration files
26+
run: |
27+
[[ -f react/dist/index.d.ts ]]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run tests
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
jobs:
7+
test:
8+
name: Run unit tests
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- name: Install base dependencies
16+
run: |
17+
yarn
18+
cd react
19+
yarn
20+
21+
- name: Run react unit tests
22+
run: |
23+
yarn test

.github/workflows/setup-test-and-build.yml

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

0 commit comments

Comments
 (0)