Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/CD_release_npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ jobs:
with:
fetch-depth: 0

- name: Use Node.js 20
- name: Use Node.js 20.17.0
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Narrowed down the issue that this was causing the trusted publishing step to break down

node-version: 20.17.0

- name: Upgrade npm CLI for trusted publishing
run: npm i -g npm@^11.5.1
run: npm i -g npm@11.5.1

- name: Verify node and npm versions
run: node -v && npm -v

- name: Configure Github credentials
run: |
Expand Down
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/html-minifier": "^4.0.2",
Expand Down Expand Up @@ -110,16 +109,10 @@
[
"@semantic-release/npm",
{
"npmPublish": false,
"npmPublish": true,
"pkgRoot": "dist"
}
],
[
"@semantic-release/exec",
{
"publishCmd": "cd dist && npm publish --provenance --access public"
}
],
"@semantic-release/github"
]
}
Expand Down
12 changes: 0 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1138,18 +1138,6 @@
resolved "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz#692810288239637f74396976a9340fbc0aa9f6f9"
integrity sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==

"@semantic-release/exec@^7.1.0":
version "7.1.0"
resolved "https://registry.npmjs.org/@semantic-release/exec/-/exec-7.1.0.tgz#cfaffe85a589aa0f385eede256904ce70acb829f"
integrity sha512-4ycZ2atgEUutspPZ2hxO6z8JoQt4+y/kkHvfZ1cZxgl9WKJId1xPj+UadwInj+gMn2Gsv+fLnbrZ4s+6tK2TFQ==
dependencies:
"@semantic-release/error" "^4.0.0"
aggregate-error "^3.0.0"
debug "^4.0.0"
execa "^9.0.0"
lodash-es "^4.17.21"
parse-json "^8.0.0"

"@semantic-release/git@^10.0.1":
version "10.0.1"
resolved "https://registry.npmjs.org/@semantic-release/git/-/git-10.0.1.tgz#c646e55d67fae623875bf3a06a634dd434904498"
Expand Down