@@ -16,56 +16,53 @@ jobs:
1616 steps :
1717 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
1818
19+ - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
1920 - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
2021 with :
21- cache : " yarn "
22+ cache : " pnpm "
2223 node-version-file : package.json
2324
2425 - name : Install Deps
25- run : " yarn install"
26+ run : " pnpm install"
2627
2728 - name : Typecheck
28- run : " yarn run lint:types"
29+ run : " pnpm run lint:types"
2930
3031 js_lint :
3132 name : " ESLint"
3233 runs-on : ubuntu-24.04
3334 steps :
3435 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3536
37+ - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
3638 - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
3739 with :
38- cache : " yarn "
40+ cache : " pnpm "
3941 node-version-file : package.json
4042
4143 - name : Install Deps
42- run : " yarn install"
44+ run : " pnpm install"
4345
4446 - name : Run Linter
45- run : " yarn run lint:js"
47+ run : " pnpm run lint:js"
4648
4749 node_example_lint :
4850 name : " Node.js example"
4951 runs-on : ubuntu-latest
5052 steps :
5153 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
5254
55+ - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
5356 - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
5457 with :
55- cache : " yarn "
58+ cache : " pnpm "
5659 node-version-file : package.json
5760
5861 - name : Install Deps
59- run : " yarn install"
62+ run : " pnpm install"
6063
6164 - name : Build Types
62- run : " yarn build:types"
63-
64- - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
65- with :
66- cache : " npm"
67- node-version-file : " examples/node/package.json"
68- # cache-dependency-path: '**/package-lock.json'
65+ run : " pnpm build:types"
6966
7067 - name : Install Example Deps
7168 run : " npm install"
@@ -85,33 +82,35 @@ jobs:
8582 steps :
8683 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
8784
85+ - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
8886 - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
8987 with :
90- cache : " yarn "
88+ cache : " pnpm "
9189 node-version-file : package.json
9290
9391 - name : Install Deps
94- run : " yarn install --frozen-lockfile"
92+ run : " pnpm install --frozen-lockfile"
9593
9694 - name : Run Linter
97- run : " yarn lint:workflows"
95+ run : " pnpm lint:workflows"
9896
9997 docs :
10098 name : " JSDoc Checker"
10199 runs-on : ubuntu-24.04
102100 steps :
103101 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
104102
103+ - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
105104 - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
106105 with :
107- cache : " yarn "
106+ cache : " pnpm "
108107 node-version-file : package.json
109108
110109 - name : Install Deps
111- run : " yarn install"
110+ run : " pnpm install"
112111
113112 - name : Generate Docs
114- run : " yarn run gendoc --treatWarningsAsErrors --suppressCommentWarningsInDeclarationFiles"
113+ run : " pnpm run gendoc --treatWarningsAsErrors --suppressCommentWarningsInDeclarationFiles"
115114
116115 - name : Upload Artifact
117116 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
@@ -127,16 +126,17 @@ jobs:
127126 steps :
128127 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
129128
129+ - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
130130 - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
131131 with :
132- cache : " yarn "
132+ cache : " pnpm "
133133 node-version-file : package.json
134134
135135 - name : Install Deps
136- run : " yarn install --frozen-lockfile"
136+ run : " pnpm install --frozen-lockfile"
137137
138138 - name : Run linter
139- run : " yarn run lint:knip"
139+ run : " pnpm run lint:knip"
140140
141141 element-web :
142142 name : Downstream tsc element-web
@@ -147,9 +147,10 @@ jobs:
147147 with :
148148 repository : element-hq/element-web
149149
150+ - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
150151 - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
151152 with :
152- cache : " yarn "
153+ cache : " pnpm "
153154 node-version : " lts/*"
154155
155156 - name : Install Dependencies
@@ -159,7 +160,7 @@ jobs:
159160 JS_SDK_GITHUB_BASE_REF : ${{ github.sha }}
160161
161162 - name : Typecheck
162- run : " yarn run lint:types"
163+ run : " pnpm run lint:types"
163164
164165 # Hook for branch protection to skip downstream typechecking outside of merge queues
165166 downstream :
0 commit comments