Commit 597569d
authored
ci: update
Re-aligning with our latest actions to be able to publish this package
again.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Touches the production npm release pipeline and token/OIDC
permissions; a misconfiguration could block releases or affect publish
auth, but changes are limited to CI workflows.
>
> **Overview**
> Updates the **release publish** GitHub Actions path so npm publishing
can run again with current MetaMask actions.
>
> The reusable `publish-release` workflow bumps **checkout/setup**,
**artifact upload/download**, and **`action-npm-publish` v5 → v6**, with
dry runs using an explicit `dry-run: true` instead of omitting
`NPM_TOKEN`. **`NPM_TOKEN` is no longer required** at the
`workflow_call` secret level (still used for the real publish step in
the `npm-publish` environment).
>
> **OIDC-style publishing** is enabled by adding **`id-token: write`**
on the caller `publish-release` job in `main.yml` and on the
`publish-npm` job, plus default **`contents: read`** on the reusable
workflow and publish job.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
462cfdb. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->action-npm-publish + upgrade yarn@4.16.0 (#37)1 parent 96cacfb commit 597569d
6 files changed
Lines changed: 31 additions & 907 deletions
File tree
- .github/workflows
- .yarn/releases
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | | - | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | | - | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | | - | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
51 | | - | |
52 | | - | |
| 55 | + | |
53 | 56 | | |
| 57 | + | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| |||
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | | - | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
70 | | - | |
| 78 | + | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
74 | | - | |
| 82 | + | |
75 | 83 | | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
| |||
0 commit comments