File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Plugin Tests
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ${{ matrix.os }}
11
+
12
+ strategy :
13
+ matrix :
14
+ os : [ubuntu-latest, macOS-latest, windows-latest]
15
+ node-version : [12, '*']
16
+ exclude :
17
+ - os : macOS-latest
18
+ node-version : 12
19
+ - os : windows-latest
20
+ node-version : 12
21
+ fail-fast : false
22
+
23
+ steps :
24
+ - uses : actions/checkout@v2
25
+ - name : Use Node.js ${{ matrix.node-version }}
26
+ uses : actions/setup-node@v2
27
+ with :
28
+ node-version : ${{ matrix.node-version }}
29
+ check-latest : true
30
+ - name : NPM Install
31
+ run : npm ci
32
+ - name : Linting
33
+ run : npm run format:ci
34
+ if : " ${{ matrix.node-version == '*' }}"
35
+ - name : Run tests against next@latest
36
+ run : npm test
37
+ - name : Install Next.js Canary
38
+ run : npm install -D next@canary --legacy-peer-deps
39
+ - name : Run tests against next@canary
40
+ run : npm test
You can’t perform that action at this time.
0 commit comments