Skip to content

Commit dd2f9bd

Browse files
authored
chore(ci): pnpm11 approve-builds (#397)
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅 You can expedite processing of your PR by using this template to provide context and additional information. Before actually opening a PR please make sure that it does NOT fall into any of the following categories 🚫 Spam PRs (accidental or intentional) - these will result in a 30-days or even ∞ ban from interacting with the project depending on reoccurrence and severity. 🚫 Lazy typo fixing PRs - if you fix a typo in a file, your PR will only be merged if all other typos in the same file are also fixed with the same PR 🚫 If you fail to provide any _Description_ below, your PR will be considered spam. If you do not check the _Affirmation_ box below, your PR will not be merged. 🚫 If you do not check one of the _AI Tool Disclosure_ boxes below, your PR will not be merged. If you used AI tools to assist you in writing code, but fail to provide the required disclosure, your PR will not be merged. 🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅--> ### Description enable during CI runs: `pnpm approve-builds` Resolves or fixes issue: <!-- ✍️ Add GitHub issue number in format `#0000` - if there is none fitting, create one --> ### AI Tool Disclosure - [x] My contribution does not include any AI-generated content - [ ] My contribution includes AI-generated content, as disclosed below: - AI Tools: `[e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.]` - LLMs and versions: `[e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.]` - Prompts: `[Summarize the key prompts or instructions given to the AI tools]` ### Affirmation - [x] My code follows the [CONTRIBUTING.md](https://github.com/CycloneDX/cyclonedx-node-module/blob/master/CONTRIBUTING.md) guidelines --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent bc33c84 commit dd2f9bd

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,14 @@ jobs:
124124
- "25" # Current
125125
- "24" # Active LTS
126126
- "22"
127-
- "20"
128-
- "18"
129127
pnpm-version: [ "latest" ]
130128
include:
129+
- os: "ubuntu-latest"
130+
node-version: "20"
131+
pnpm-version: "latest-10" # see https://github.com/pnpm/pnpm/issues/11546#issuecomment-4407057536
132+
- os: "ubuntu-latest"
133+
node-version: "18"
134+
pnpm-version: "latest-9" # see https://github.com/pnpm/pnpm/issues/11546#issuecomment-4407057536
131135
- os: "ubuntu-latest"
132136
node-version: "16"
133137
pnpm-version: "latest-8" # see https://www.npmjs.com/package/pnpm/?activeTab=versions

pnpm-workspace.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
packages:
2+
- .
3+
4+
# see https://pnpm.io/settings#allowbuilds
5+
onlyBuiltDependencies: # pnpm10
6+
- electron
7+
allowBuilds: # pnpm11+
8+
libxmljs2: true

0 commit comments

Comments
 (0)