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.
2 parents 7c6dec0 + efd5ac5 commit 6c31ad8Copy full SHA for 6c31ad8
.github/workflows/test.yml
@@ -0,0 +1,30 @@
1
+name : Test Platform
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ test:
10
+ strategy:
11
+ matrix:
12
+ os: [ubuntu-latest, macos-latest, windows-latest]
13
+ runs-on: ${{ matrix.os }}
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - name: Set up Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: 20
21
+ cache: 'npm'
22
23
+ - name: Install dependencies
24
+ run: npm install
25
26
+ - name: Run tests
27
+ run: npm run test
28
29
+ - name: Build Next.js
30
+ run: npm run build
0 commit comments