Commit 9f77e88
committed
Stop using Yarn APT repo and install Yarn via Corepack
The Yarn Debian APT repository is signed with an expired GPG key,
which now causes builds to fail on recent versions of APT.
The error is:
0.571 W: https://dl.yarnpkg.com/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
0.571 W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
0.571 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
Rather than relying on the deprecated Yarn APT repo, install Yarn
via Corepack, which is bundled with Node.js and is the recommended
way to manage Yarn going forward.
(https://www.docs4dev.com/docs/yarn/berry/getting-started/install.html)
This avoids GPG key expiry issues and makes the build more robust
to future APT security changes.1 parent 0d7c321 commit 9f77e88
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments