Skip to content

Commit 68d2621

Browse files
authored
Merge pull request #27 from sveltejs/fix/release-action
fix: release workflow - setup node after checkout and specify registry-url
2 parents 49b9b49 + f051776 commit 68d2621

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
name: Release
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/setup-node@v2
19-
with:
20-
node-version: 14
21-
2218
- name: checkout
2319
uses: actions/checkout@v2
2420
with:
2521
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2622
fetch-depth: 0
27-
23+
- name: setup node
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: 14
27+
registry-url: 'https://registry.npmjs.org'
2828
# install pnpm and try to reuse cache from ci action by using same cache keys
2929
- name: install pnpm
3030
run: npm i -g pnpm@5

0 commit comments

Comments
 (0)