Thanks to visit codestin.com Credit goes to github.com
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 d5a001d commit 7f37feaCopy full SHA for 7f37fea
.github/workflows/client.yml
@@ -0,0 +1,36 @@
1
+name: Client
2
+on:
3
+ pull_request:
4
+ types: [opened, synchronize, reopened]
5
+ paths:
6
+ - 'client/**'
7
+
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ test:
13
+ name: Tests
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ matrix:
17
+ node-version: [ 18.x, 20.x ]
18
+ steps:
19
+ - uses: actions/checkout@v3
20
+ with:
21
+ fetch-depth: 0
22
+ - name: Use Node.js ${{ matrix.node-version }}
23
+ uses: actions/setup-node@v3
24
25
+ node-version: ${{ matrix.node-version }}
26
+ cache: 'npm'
27
+ - name: Install dependencies
28
+ uses: borales/actions-yarn@v4
29
30
+ cmd: install
31
+ dir: client
32
+ - name: Run tests
33
34
35
+ cmd: test
36
0 commit comments