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
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@ jobs:
with:
node-version: "lts/*"

# Trusted publishing (OIDC) needs a current npm; the Node-bundled one
# may predate support. The diagnostic line makes the next auth failure
# self-explaining: no ACTIONS_ID_TOKEN vars → workflow context problem;
# vars present but publish ENEEDAUTHs → npmjs.com trusted-publisher
# config mismatch (must be repo queso/FlowSpec, workflow release.yml).
- name: Update npm for trusted publishing
run: |
npm install -g npm@latest
echo "node=$(node --version) npm=$(npm --version)"
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL:-}" ]; then
echo "OIDC vars: present"
else
echo "OIDC vars: MISSING — id-token permission not reaching this job"
fi

- name: Install dependencies
run: bun install --frozen-lockfile

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"flowspec": "./dist/index.js"
"flowspec": "dist/index.js"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/queso/FlowSpec"
"url": "git+https://github.com/queso/FlowSpec.git"
},
"keywords": [
"testing",
Expand Down
Loading