You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/nodejs.yml
+19-12Lines changed: 19 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -35,30 +35,32 @@ jobs:
35
35
with:
36
36
fetch-depth: 0
37
37
38
+
- name: Install Pnpm
39
+
run: |
40
+
npm install -g corepack@latest --force
41
+
corepack enable
42
+
38
43
- name: Use Node.js ${{ matrix.node-version }}
39
44
uses: actions/setup-node@v6
40
45
with:
41
46
node-version: ${{ matrix.node-version }}
42
-
cache: "npm"
47
+
package-manager-cache: false
43
48
44
49
- name: Install dependencies
45
-
run: npm ci
50
+
run: pnpm install --frozen-lockfile
46
51
47
52
- name: Lint
48
-
run: npm run lint
53
+
run: pnpm run lint
49
54
50
55
- name: Build types
51
-
run: npm run build:types
56
+
run: pnpm run build:types
52
57
53
58
- name: Check types
54
-
run: if [ -n "$(git status types --porcelain)" ]; then echo "Missing types. Update types by running 'npm run build:types'"; exit 1; else echo "All types are valid"; fi
55
-
56
-
- name: Security audit
57
-
run: npm run security
59
+
run: if [ -n "$(git status types --porcelain)" ]; then echo "Missing types. Update types by running 'pnpm run build:types'"; exit 1; else echo "All types are valid"; fi
Fastify interop will require the use of `fastify-express` instead of `middie` for providing middleware support. As the authors of `fastify-express` recommend, this should only be used as a stopgap while full Fastify support is worked on.
0 commit comments