We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab60acb commit 16e0df6Copy full SHA for 16e0df6
.github/workflows/test.yml
@@ -0,0 +1,33 @@
1
+name: Test and build
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build-and-test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/[email protected]
16
17
+ - name: Setup Node.js
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version: 18
21
22
+ - name: Check Yarn Version
23
+ run: yarn --version
24
25
+ - name: Install dependencies
26
+ run: yarn
27
28
+ - name: Run tests
29
+ run: yarn test
30
31
+ - name: Build
32
+ run: |
33
+ yarn build
0 commit comments