We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d883dca commit 70abe07Copy full SHA for 70abe07
.github/workflows/pr-test.yml
@@ -0,0 +1,26 @@
1
+name: Run Build and Tests on Pull Request
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
10
+jobs:
11
+ test-build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
+ with:
17
+ node-version: "lts/*"
18
+ - run: npm install --legacy-peer-deps
19
+ - name: Run Tests
20
+ run: |
21
+ npx jest --ci --coverage --maxWorkers=2
22
+ continue-on-error: false
23
+ - name: TypeScript Check
24
+ run: yarn tsc
25
+ - run: yarn build
26
.github/workflows/release.yml
@@ -27,7 +27,6 @@ jobs:
27
- name: TypeScript Check
28
run: yarn tsc
29
- run: yarn build
30
- - run: yarn audit
31
- name: Release
32
env:
33
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments