Skip to content

Commit

Permalink
ci: Update create-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRamirezLecca committed Dec 4, 2024
1 parent b0c3bf5 commit 934d614
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ jobs:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: |
release-deps-package.json
- name: Create package.json for release dependencies
run: |
echo '{"dependencies": {
Expand All @@ -43,6 +35,13 @@ jobs:
"@semantic-release/npm": "latest"
}}' > release-deps-package.json
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: release-deps-package.json

- name: Install semantic-release packages
run: npm install --no-package-lock --prefix . --package-lock-only=false --no-save

Expand Down

0 comments on commit 934d614

Please sign in to comment.