Skip to content

Commit fb1dd4c

Browse files
committed
fix: install before parsing changelog
1 parent ecf3c57 commit fb1dd4c

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
@@ -28,17 +28,17 @@ jobs:
2828
uses: actions/checkout@v3
2929
with:
3030
ref: ${{ needs.check.outputs.commit }}
31-
- name: Parse Changelog # Exits if changelog not found
32-
id: changelog
33-
env:
34-
INPUT_VERSION: ${{ needs.check.outputs.version }}
35-
run: node ./scripts/changelog/index.cjs
3631
- name: Set up Node.js
3732
uses: actions/setup-node@v3
3833
with:
3934
registry-url: "https://registry.npmjs.org"
4035
- name: Install dependencies
4136
run: npm install
37+
- name: Parse Changelog # Exits if changelog not found
38+
id: changelog
39+
env:
40+
INPUT_VERSION: ${{ needs.check.outputs.version }}
41+
run: node ./scripts/changelog/index.cjs
4242
- name: Publish to NPM
4343
run: npm publish # Publish builds automatically
4444
env:

0 commit comments

Comments
 (0)