File tree Expand file tree Collapse file tree 1 file changed +13
-59
lines changed Expand file tree Collapse file tree 1 file changed +13
-59
lines changed Original file line number Diff line number Diff line change @@ -3,64 +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
- run : |
33
- curl -L https://unpkg.com/@pnpm/self-installer | node
34
- pnpm install
35
-
36
- - name : Run tests
37
- run : |
38
- pnpm run test
39
-
40
- yarn :
41
- runs-on : ${{ matrix.os }}
42
-
43
- strategy :
44
- matrix :
45
- # Maintenance and active LTS
46
- node-version : [14, 16, 18]
47
- os : [ubuntu-latest]
48
-
49
- steps :
50
- - uses : actions/checkout@v3
51
- with :
52
- persist-credentials : false
53
-
54
- - name : Use Node.js
55
- uses : actions/setup-node@v3
56
- with :
57
- node-version : ${{ matrix.node-version }}
58
-
59
- - name : Install with yarn
60
- run : |
61
- curl -o- -L https://yarnpkg.com/install.sh | bash
62
- yarn install --ignore-engines
63
-
64
- - name : Run tests
65
- run : |
66
- yarn run test
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