@@ -74,17 +74,17 @@ jobs:
7474 - name : Checkout code
7575 uses : actions/checkout@v4
7676
77+ - name : Install pnpm
78+ uses : pnpm/action-setup@v2
79+ with :
80+ version : ${{ env.PNPM_VERSION }}
81+
7782 - name : Setup Node.js
7883 uses : actions/setup-node@v4
7984 with :
8085 node-version : ${{ env.NODE_VERSION }}
8186 cache : ' pnpm'
8287
83- - name : Install pnpm
84- uses : pnpm/action-setup@v2
85- with :
86- version : ${{ env.PNPM_VERSION }}
87-
8888 - name : Install dependencies
8989 run : pnpm install --frozen-lockfile
9090
@@ -133,6 +133,11 @@ jobs:
133133 - name : Checkout code
134134 uses : actions/checkout@v4
135135
136+ - name : Install pnpm
137+ uses : pnpm/action-setup@v2
138+ with :
139+ version : ${{ env.PNPM_VERSION }}
140+
136141 - name : Setup Node.js
137142 uses : actions/setup-node@v4
138143 with :
@@ -141,11 +146,6 @@ jobs:
141146 registry-url : ' https://npm.pkg.github.com'
142147 scope : ' @automations-project'
143148
144- - name : Install pnpm
145- uses : pnpm/action-setup@v2
146- with :
147- version : ${{ env.PNPM_VERSION }}
148-
149149 - name : Install dependencies
150150 run : pnpm install --frozen-lockfile
151151
@@ -179,18 +179,18 @@ jobs:
179179 - name : Checkout code
180180 uses : actions/checkout@v4
181181
182+ - name : Install pnpm
183+ uses : pnpm/action-setup@v2
184+ with :
185+ version : ${{ env.PNPM_VERSION }}
186+
182187 - name : Setup Node.js
183188 uses : actions/setup-node@v4
184189 with :
185190 node-version : ${{ env.NODE_VERSION }}
186191 cache : ' pnpm'
187192 registry-url : ' https://registry.npmjs.org'
188193
189- - name : Install pnpm
190- uses : pnpm/action-setup@v2
191- with :
192- version : ${{ env.PNPM_VERSION }}
193-
194194 - name : Install dependencies
195195 run : pnpm install --frozen-lockfile
196196
@@ -232,7 +232,7 @@ jobs:
232232 run : |
233233 VERSION="v${{ needs.validate-release.outputs.version }}"
234234 PREV_TAG=$(git describe --tags --abbrev=0 HEAD~1 2>/dev/null || echo "")
235-
235+
236236 if [ -z "$PREV_TAG" ]; then
237237 CHANGELOG="🎉 Initial release of Scrappey n8n Node v${{ needs.validate-release.outputs.version }}"
238238 else
@@ -241,7 +241,7 @@ jobs:
241241 CHANGELOG="- Bug fixes and improvements"
242242 fi
243243 fi
244-
244+
245245 {
246246 echo "changelog<<EOF"
247247 echo "## What's Changed"
@@ -310,4 +310,4 @@ jobs:
310310 if : needs.create-release.result == 'failure'
311311 run : |
312312 echo "❌ Release failed for v${{ needs.validate-release.outputs.version }}"
313- exit 1
313+ exit 1
0 commit comments