Skip to content

Commit

Permalink
Another round of updates to release pipeline config
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Feb 19, 2024
1 parent 1805b1b commit 5bc0d07
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tagged_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ jobs:
external_repository: nut-tree/apidoc
publish_dir: ./core/nut.js/docs
- name: Publish tagged release to npm
run: npm publish
run: pnpm run publish:release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v3
with:
registry-url: "https://npm.pkg.github.com"
- name: Publish tagged release to GPR
run: npm publish
run: pnpm run publish:release
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions core/nut.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"coverage": "jest --coverage --runInBand --logHeapUsage",
"coverage:clean": "rimraf coverage",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish",
"prepublishOnly": "pnpm run compile",
"typedoc": "typedoc --options ./typedoc.js --entryPointStrategy expand ./lib"
},
Expand Down
1 change: 1 addition & 0 deletions core/provider-interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"clean": "rimraf dist",
"compile": "pnpm run clean && tsc -p .",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish",
"prepublishOnly": "pnpm run compile"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions core/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"clean": "rimraf dist",
"compile": "pnpm run clean && tsc -p .",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish",
"prepublishOnly": "pnpm run compile"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"coverage:clean": "pnpm -r run coverage:clean",
"prepare": "husky install",
"publish:next": "pnpm -r run publish:next",
"publish": "pnpm -r run publish"
"publish:release": "pnpm -r run publish:release"
},
"packageManager": "[email protected]",
"workspaces": [
Expand Down
1 change: 1 addition & 0 deletions providers/clipboardy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"clean": "rimraf dist",
"compile": "pnpm run clean && tsc -p .",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish",
"prepublishOnly": "pnpm run compile"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions providers/libnut/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"coverage": "jest --coverage --runInBand",
"coverage:clean": "rimraf coverage",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish",
"prepublishOnly": "pnpm run compile",
"version": "npm version --no-git-tag -f"
},
Expand Down

0 comments on commit 5bc0d07

Please sign in to comment.