We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d883dca commit 7921f3eCopy full SHA for 7921f3e
.github/workflows/pr-test.yml
@@ -0,0 +1,30 @@
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:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v3
17
18
+ - name: Set up Node.js
19
+ uses: actions/setup-node@v3
20
+ with:
21
+ node-version: 16
22
23
+ - name: Install dependencies
24
+ run: npm install
25
26
+ - name: Build the project
27
+ run: npm run build
28
29
+ - name: Run tests
30
+ run: npm test
.github/workflows/release.yml
@@ -27,7 +27,6 @@ jobs:
- name: TypeScript Check
run: yarn tsc
- run: yarn build
- - run: yarn audit
31
- name: Release
32
env:
33
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments