We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c43a5 commit 1fa936dCopy full SHA for 1fa936d
.github/workflows/pr-check.yml
@@ -0,0 +1,35 @@
1
+name: PR Check
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ test-and-lint:
10
+ name: Test and Format Check
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout Repo
14
+ uses: actions/checkout@v3
15
16
+ - name: Enable Corepack
17
+ run: corepack enable
18
19
+ - name: Setup Node.js 20.x
20
+ uses: actions/setup-node@v3
21
+ with:
22
+ node-version: 20.x
23
24
+ - name: Install Dependencies
25
+ run: yarn
26
27
+ - name: Run Tests and Coverage
28
+ run: |
29
+ yarn test
30
+ yarn test:coverage
31
32
+ - name: Check Formatting
33
34
+ # Run format check on all workspaces
35
+ yarn workspaces foreach --all run format --check
0 commit comments