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 592d7c4 commit 1d7a39bCopy full SHA for 1d7a39b
.github/workflows/test.yml
@@ -0,0 +1,35 @@
1
+name: PR Test
2
+
3
+on:
4
+ pull_request:
5
+ branches: [main]
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v3
14
+ with:
15
+ ref: ${{ github.head_ref }}
16
+ token: ${{ secrets.GITHUB_TOKEN }}
17
18
+ - uses: pnpm/action-setup@v2
19
20
+ version: 8
21
22
+ - name: Setup Node.js
23
+ uses: actions/setup-node@v3
24
25
+ node-version: '18'
26
+ cache: 'pnpm'
27
28
+ - name: Install dependencies
29
+ run: pnpm install
30
31
+ - name: Create .env file
32
+ run: echo "${{ secrets.FRONT_END_ENV }}" > apps/client/.env
33
34
+ - name: Run tests
35
+ run: pnpm run test
0 commit comments