Commit 97aa385
Migrate npm publishing to trusted publishers with yarn 4 and Node 22 (#109)
* Initial plan
* Implement npm trusted publishing support
- Update all actions/setup-node to v6
- Add npm 11.5.1 installation for trusted publishers support
- Add workflow permissions (id-token: write, contents: read, packages: write)
- Remove NPM_TOKEN authentication from npm publishing (use trusted publishing)
- Set NODE_AUTH_TOKEN="" for npm publish
- Bump typescript package version from 1.4.2 to 1.4.3
- Keep NPM_TOKEN for GitHub packages publishing
Co-authored-by: dmattia <8922077+dmattia@users.noreply.github.com>
* Address code review feedback
- Add registry-url to setup-node for npm trusted publishing
- Remove unnecessary NODE_AUTH_TOKEN environment variable
Co-authored-by: dmattia <8922077+dmattia@users.noreply.github.com>
* Run pre-commit hooks: update table of contents in python/README.md
Co-authored-by: dmattia <8922077+dmattia@users.noreply.github.com>
* Bump pre-commit action from v2.0.2 to v4.0.0
Fixes GitHub Actions cache service errors in the run-pre-commits job
Co-authored-by: dmattia <8922077+dmattia@users.noreply.github.com>
* Fix pre-commit action version to v3.0.0
v4.0.0 doesn't exist, using v3.0.0 instead
Co-authored-by: dmattia <8922077+dmattia@users.noreply.github.com>
* Update to yarn 4.12.0, Node 22, and add provenance to npm publish
- Run yarn set version 4.12.0
- Update all CI jobs to use Node.js 22.x instead of 14.x
- Add --provenance flag to npm publish for attestation
- GitHub packages publish remains without provenance flag
Co-authored-by: dmattia <8922077+dmattia@users.noreply.github.com>
* bump yarn and node version
* bump yarn version
* remove unneeded thing with yarn
* run yarn
* run yarn
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: dmattia <8922077+dmattia@users.noreply.github.com>
Co-authored-by: David Mattia <david@transcend.io>1 parent ba8c467 commit 97aa385
File tree
13 files changed
+2501
-2893
lines changed- .devcontainer
- .github/workflows
- .vscode
- .yarn
- plugins/@yarnpkg
- releases
- python
- typescript
13 files changed
+2501
-2893
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | | - | |
10 | | - | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | | - | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | | - | |
24 | | - | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | | - | |
| 31 | + | |
27 | 32 | | |
28 | | - | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
37 | | - | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | | - | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
58 | | - | |
| 63 | + | |
59 | 64 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | | - | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
| 80 | + | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
8 | 6 | | |
9 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
0 commit comments