File tree Expand file tree Collapse file tree 1 file changed +13
-61
lines changed Expand file tree Collapse file tree 1 file changed +13
-61
lines changed Original file line number Diff line number Diff line change @@ -3,66 +3,18 @@ name: package-manager-ci
3
3
on :
4
4
push :
5
5
branches :
6
- - master
7
-
8
- permissions :
9
- contents : read
6
+ - main
7
+ - master
8
+ - next
9
+ - ' v*'
10
+ paths-ignore :
11
+ - ' docs/**'
12
+ - ' *.md'
13
+ pull_request :
14
+ paths-ignore :
15
+ - ' docs/**'
16
+ - ' *.md'
10
17
11
18
jobs :
12
- pnpm :
13
- runs-on : ${{ matrix.os }}
14
-
15
- strategy :
16
- matrix :
17
- # Maintenance and active LTS
18
- node-version : [14, 16, 18]
19
- os : [ubuntu-latest]
20
-
21
- steps :
22
- - uses : actions/checkout@v3
23
- with :
24
- persist-credentials : false
25
-
26
- - name : Use Node.js
27
- uses : actions/setup-node@v3
28
- with :
29
- node-version : ${{ matrix.node-version }}
30
-
31
- - name : Install with pnpm
32
- uses : pnpm/action-setup@v2
33
- with :
34
- # pnpm@8 does not support Node.js 14
35
- version : 7
36
-
37
- - name : Run tests
38
- run : |
39
- pnpm run test
40
-
41
- yarn :
42
- runs-on : ${{ matrix.os }}
43
-
44
- strategy :
45
- matrix :
46
- # Maintenance and active LTS
47
- node-version : [14, 16, 18]
48
- os : [ubuntu-latest]
49
-
50
- steps :
51
- - uses : actions/checkout@v3
52
- with :
53
- persist-credentials : false
54
-
55
- - name : Use Node.js
56
- uses : actions/setup-node@v3
57
- with :
58
- node-version : ${{ matrix.node-version }}
59
-
60
- - name : Install with yarn
61
- run : |
62
- curl -o- -L https://yarnpkg.com/install.sh | bash
63
- yarn install --ignore-engines
64
-
65
- - name : Run tests
66
- run : |
67
- yarn run test
68
-
19
+ test :
20
+ uses : fastify/workflows/.github/workflows/plugins-ci-package-manager.yml@v3
You can’t perform that action at this time.
0 commit comments