Christian Clauss
7b4f315e4d
fix: Test Windows on Python 3.14, not 3.13 ( #3262 )
2026-01-05 02:21:13 +08:00
dependabot[bot]
db5385c546
build(deps): bump actions/checkout from 5 to 6 ( #3248 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 16:07:20 +01:00
Luke Karrys
86d65c7874
chore: setup dependabot for npm
2025-11-07 13:46:25 -07:00
dependabot[bot]
ae90e632d9
build(deps): bump actions/setup-node from 5 to 6
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-06 14:53:02 -07:00
Christian Clauss
085b445d1c
fix(ci): Test on Python 3.14 release candidate 3 on Linux and macOS ( #3216 )
2025-09-26 13:25:51 +02:00
Christian Clauss
8bd3f6354b
fix(ci): Run Visual Studio test on Windows 11 on ARM ( #3217 )
2025-09-25 15:36:12 +02:00
dependabot[bot]
c6b968caf7
build(deps): bump actions/github-script from 7 to 8 ( #3213 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 15:24:59 +02:00
dependabot[bot]
6b70b05ed2
build(deps): bump actions/setup-python from 5 to 6 ( #3210 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 18:48:59 +02:00
dependabot[bot]
921c04d142
build(deps): bump actions/setup-node from 4 to 5 ( #3211 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 18:09:19 +02:00
Antoine du Hamel
a4e1da6683
chore(ci): Update Node.js version matrix in tests.yml ( #3209 )
...
* chore(ci): Update Node.js version to 24.x in `tests.yml`
* Remove EOL Node.js 18.x
2025-08-26 14:34:39 +01:00
Christian Clauss
cb30a538ea
chore: ruff format Python code ( #3203 )
2025-08-26 15:28:06 +02:00
Luke Karrys
6b9638a0f8
chore(release): use npm@11 for OIDC publishing ( #3202 )
...
OIDC is only supported in npm >=11.5.1.
Fixes #3201
2025-08-20 12:38:50 -07:00
Chengzhong Wu
0773615029
chore: use npm oicd connection for publishing ( #3197 )
2025-08-19 03:38:40 +08:00
Christian Clauss
71a910e61e
Lint Python: Ignore ruff rule PLC0415 ( #3195 )
...
https://docs.astral.sh/ruff/rules/import-outside-top-level
There are several valid reasons for conditionally importing Python modules, especially for OS-specific code, so let's intentionally ignore this rule.
% `ruff check --select=PLC0415`
```
Error: gyp/pylib/gyp/MSVSVersion.py:222:5: PLC0415 `import` should be at the top-level of a file
Error: gyp/pylib/gyp/__init__.py:492:9: PLC0415 `import` should be at the top-level of a file
Error: gyp/pylib/gyp/generator/make.py:81:9: PLC0415 `import` should be at the top-level of a file
Error: gyp/pylib/gyp/generator/ninja.py:1998:9: PLC0415 `import` should be at the top-level of a file
Error: gyp/pylib/gyp/generator/ninja.py:2021:9: PLC0415 `import` should be at the top-level of a file
Error: gyp/pylib/gyp/generator/ninja.py:2091:9: PLC0415 `import` should be at the top-level of a file
Error: gyp/pylib/gyp/mac_tool.py:145:9: PLC0415 `import` should be at the top-level of a file
Error: gyp/test_gyp.py:151:9: PLC0415 `import` should be at the top-level of a file
Error: gyp/test_gyp.py:157:9: PLC0415 `import` should be at the top-level of a file
```
2025-08-13 09:50:57 +01:00
dependabot[bot]
27f5505ec2
build(deps): bump actions/checkout from 4 to 5 ( #3193 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-13 07:03:45 +02:00
Christian Clauss
3df8789a9a
chore: Windows 2019 has been removed from GitHub Actions ( #3190 )
...
* actions/runner-images#12045
2025-07-24 16:38:11 -04:00
Liam Mitchell
7d883b5cf4
fix: Correct Visual Studio 2019 test version ( #3153 )
2025-04-11 15:35:13 -07:00
Luke Karrys
8f3cd8b3a1
chore: retry wasi-sdk download in CI ( #3151 )
2025-04-02 11:09:15 +02:00
Toyo Li
ee1d6fd8d8
test: fix wasm test on Windows ( #3145 )
...
* fix wasm test on windows
* test not rely lint python
2025-03-19 17:05:14 +00:00
Christian Clauss
2530f51cec
chore: Test on Ubuntu-24.04-arm and Node.js v23 ( #3121 )
2025-02-02 18:12:49 +08:00
Chengzhong Wu
e3f9a7756f
chore: add gyp-next updater ( #3105 )
...
* chore: add gyp-next updater
Co-authored-by: Christian Clauss <cclauss@me.com >
2025-01-29 05:07:07 +08:00
Christian Clauss
44cea2e09e
Test on GitHub Actions windows-2025 image ( #3116 )
...
* DRAFT: Test on GitHub Actions windows-2025 image
* actions/runner-images#11228
* Windows 2025 currently ships with Visual Studio 2022
* Revert changes to lib/find-visualstudio.js
* Revert changes to lib/find-visualstudio.js
* Revert ALL changes to lib/find-visualstudio.js
2025-01-13 17:33:44 +01:00
Christian Clauss
94448fcd9f
chore: Use astral-sh/ruff-action@v3 to run the Python linter ( #3114 )
...
* Use pipx instead of pip to install the ruff linter
* PLC0206
* astral-sh/ruff-action@v3
2025-01-02 20:41:47 +01:00
Chengzhong Wu
6dded88065
chore: fix npm-publish dependencies and add provenance ( #3099 )
2024-12-02 13:31:57 -07:00
Christian Clauss
e6f4ede10c
chore(ci) test on Node.js v22 and not v16 ( #3052 )
2024-07-23 06:50:30 +02:00
Chengzhong Wu
8319847363
chore: publish to npm with release-please ( #3051 )
2024-07-22 10:39:31 +01:00
Sebastian Mellen
d1ed3d4dc3
fix(ci): use correct release-please-action domain after organization url was changed ( #3032 )
...
Co-authored-by: Luke Karrys <luke@lukekarrys.com >
2024-07-19 11:37:34 -07:00
Chengzhong Wu
b3916d5b25
chore: fix ruff command ( #3044 )
2024-07-09 19:03:10 +02:00
dependabot[bot]
10f6730be6
build(deps): bump seanmiddleditch/gha-setup-ninja from 4 to 5 ( #3041 )
...
Bumps [seanmiddleditch/gha-setup-ninja](https://github.com/seanmiddleditch/gha-setup-ninja ) from 4 to 5.
- [Release notes](https://github.com/seanmiddleditch/gha-setup-ninja/releases )
- [Commits](https://github.com/seanmiddleditch/gha-setup-ninja/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: seanmiddleditch/gha-setup-ninja
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 15:40:58 +01:00
Toyo Li
6318d2b210
feat: support rebuild and build for cross-compiling Node-API module to wasm on Windows ( #2974 )
2024-06-28 15:36:30 +01:00
Toyo Li
ea99fea834
feat(gyp): update gyp to v0.18.1 ( #3039 )
...
* feat(gyp): update gyp to v0.18.1
* ci: setup ninja
* ci: visual-studio job use python 3.12
2024-06-12 10:23:37 +01:00
Christian Clauss
0bab6a071b
GitHub Actions: npm test is failing Windows tests on M1 Macs ( #3011 )
...
* GitHub Actions: npm test is failing Windows tests on M1 Macs
`npm test` is running and failing Windows `find-visualstudio` tests on an M1 Mac!!!
These tests are not being run or not failing on Intel Macs.
* Only run "Find Visual Studio" tests on Windows
* Update test/test-find-visualstudio.js
Co-authored-by: Christian Clauss <cclauss@me.com >
---------
Co-authored-by: Stefan Stojanovic <StefanStojanovic@users.noreply.github.com >
2024-04-11 17:34:49 +02:00
Christian Clauss
e1304e870b
Revert
2024-04-06 00:16:38 +02:00
Christian Clauss
7647a78bd7
Update tests.yml
2024-04-06 00:03:30 +02:00
Luke Karrys
fbf3fda875
Use new branch name format for release please CI tests
2024-03-08 15:59:51 -07:00
Ayushman Chhabra
0035d8e9dc
chore: upgrade release please action from v2 to v4 ( #2982 )
...
* chore(release-please-action): upgrade from v2 to v4
* chore(ci): remove target branch
* chore(release-please): disable `include-component-in-tag`
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com >
* chore(release-please): format JSON properties per line
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com >
* Remove last release sha
---------
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com >
Co-authored-by: Luke Karrys <luke@lukekarrys.com >
2024-03-06 14:03:52 -07:00
Christian Clauss
c24cead6e3
Revert "build(deps): bump google-github-actions/release-please-action from 2 to 4" ( #2967 )
2024-01-25 07:32:33 +01:00
dependabot[bot]
b1f1808bff
build(deps): bump google-github-actions/release-please-action ( #2961 )
...
Bumps [google-github-actions/release-please-action](https://github.com/google-github-actions/release-please-action ) from 2 to 4.
- [Release notes](https://github.com/google-github-actions/release-please-action/releases )
- [Changelog](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/release-please-action/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: google-github-actions/release-please-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 20:11:30 +01:00
dependabot[bot]
3f0df7e933
build(deps): bump actions/setup-python from 4 to 5 ( #2960 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 08:15:15 +01:00
Christian Clauss
7f58bc8144
Keep GitHub Actions up to date with Dependabot
...
* https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
2024-01-17 07:52:35 +01:00
Luke Karrys
cff9ac2c30
chore: only run release please on push
...
And then run release-please tests on release PRs
2023-11-06 09:49:22 -07:00
Luke Karrys
3032e1061c
chore: run tests after release please PR
2023-10-28 16:24:46 -07:00
Luke Karrys
864a979930
feat!: use .npmignore file to limit which files are published ( #2921 )
...
* feat!: use package.json files to limit which files are published
Fixes : #2372
* Use npmignore instead of package.json#files
* Add update-gyp.py to npmignore
* Add install to pack test
* Use output var for pack dir
* Move existing .gitignore entries to .npmignore
* Sort git and npm ignores
* Update and cleanup workflows
2023-10-28 16:07:44 -07:00
Luke Karrys
4e493d4fb2
chore: misc testing fixes ( #2930 )
...
* chore: misc test fixes
* Sort test runs by os first
* Use cross-env for test env var
* Try sorting matrix params
* Make FAST_TEST the default and rename to FULL_TEST
* Separate helper functions to not need to export test obj in files
2023-10-28 14:13:10 -07:00
Luke Karrys
21a7249b40
chore: add check engines script to CI ( #2922 )
2023-10-27 20:51:20 -07:00
DeeDeeG
707927cd57
feat(gyp): update gyp to v0.16.1 ( #2923 )
...
* feat(gyp): update gyp to v0.15.1
* Add Python 3.12 to tests
* Try to fix CI
* Try specifying msvs-version
* Modify the visual-studio matrix
* Fix pythonLocation var
* Fix Python tests
* Get path
* polish
* feat(gyp): update gyp to v0.16.0
* feat(gyp): update gyp to v0.16.1
* CI: Don't install Python 'packaging' module (vendored in 'gyp-next' now)
* Apply suggestions from code review
* Upgrade to actions/checkout@v4
---------
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
Co-authored-by: Christian Clauss <cclauss@me.com >
2023-10-27 17:12:14 -07:00
David Sanders
d644ce4831
docs: update applicable GitHub links from master to main ( #2843 )
...
Signed-off-by: David Sanders <dsanders11@ucsbalum.com >
2023-10-27 16:53:27 -07:00
Alex
26683e993d
chore: GitHub Workflows security hardening ( #2740 )
...
* build: harden tests.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com >
* build: harden release-please.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com >
* build: harden visual-studio.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com >
* Update release-please.yml
---------
Signed-off-by: Alex <aleksandrosansan@gmail.com >
2023-10-27 10:45:09 -07:00
Christian Clauss
91fd8ffe6a
Python lint: ruff --format is now --output-format
...
Fixes the failing `ruff` linting in GitHub Actions.
2023-10-27 10:52:08 +02:00
Christian Clauss
bb93b946a9
docs: README.md Do not hardcode the supported versions of Python ( #2880 )
2023-08-25 21:04:27 +08:00