@@ -33,20 +33,23 @@ jobs:
33
33
- name : Checkout source
34
34
uses : actions/checkout@v5
35
35
36
+ - name : Install pnpm
37
+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
38
+
36
39
- name : Install Node.js ${{ matrix.node-version }}
37
40
uses : actions/setup-node@v5
38
41
with :
39
42
node-version : ${{ matrix.node-version }}
40
- cache : npm
43
+ cache : pnpm
41
44
42
45
- name : Install dependencies
43
- run : npm ci
46
+ run : pnpm install
44
47
45
48
- name : Run tests
46
- run : npm run coverage
49
+ run : pnpm coverage
47
50
48
51
- name : Send code coverage results to Coveralls
49
- uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
52
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
50
53
with :
51
54
parallel : true
52
55
flag-name : Node.js ${{ matrix.node-version }} / ${{ matrix.os }}
58
61
needs : test
59
62
steps :
60
63
- name : Let Coveralls know that all tests have finished
61
- uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
64
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
62
65
with :
63
66
parallel-finished : true
64
67
@@ -71,25 +74,28 @@ jobs:
71
74
- name : Checkout source
72
75
uses : actions/checkout@v5
73
76
77
+ - name : Install pnpm
78
+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
79
+
74
80
- name : Install Node.js
75
81
uses : actions/setup-node@v5
76
82
with :
77
83
node-version : " 24"
78
- cache : npm
84
+ cache : pnpm
79
85
80
86
- name : Install development dependencies
81
- run : npm ci
87
+ run : pnpm install
82
88
83
89
- name : Build
84
- run : npm run build
90
+ run : pnpm build
85
91
86
92
- name : Verify no un-staged changes
87
93
run : |
88
94
git status --porcelain
89
95
git diff-files --quiet
90
96
91
97
- name : Run lints
92
- run : npm run lint
98
+ run : pnpm lint
93
99
94
100
- name : Upload publish artifact
95
101
uses : actions/upload-artifact@v4
@@ -121,13 +127,17 @@ jobs:
121
127
- name : Checkout source
122
128
uses : actions/checkout@v5
123
129
124
- - name : Install Node.js ${{ matrix.node-version }}
130
+ - name : Install pnpm
131
+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
132
+
133
+ - name : Install Node.js
125
134
uses : actions/setup-node@v5
126
135
with :
127
- node-version : ${{ matrix.node-version }}
136
+ node-version : " 24"
137
+ cache : pnpm
128
138
129
139
- name : Install production dependencies
130
- run : npm install --production
140
+ run : pnpm install --production
131
141
132
142
- name : Download publish artifact
133
143
uses : actions/download-artifact@v5
0 commit comments