Commit 2070869
authored
CI: Clean up Node.js installation in GitHub actions (#5322)
- Remove actions installing old Node.js versions no longer used (`14`
and `16`)
- Rename `latest` action to `active-lts` to clearly signal intent (a
separate `latest` or `current` action that tests non-lts, can be
created in a follow up commit)
- Remove `18` action, and replace any usage of it with
`oldest-maintenance-lts`
- Remove `setup` action and replace any usage of it with `active-lts`
- Move `install` action to after the first Node.js install action that
actually needs it, instead of first installing one Node.js version,
only to install another right after
- Change any direct usage of `actions/setup-node` to use our own Node.js
installation actions instead, when a matrix is not used.1 parent 2c9ab13 commit 2070869
25 files changed
Lines changed: 121 additions & 201 deletions
File tree
- .github
- actions
- node
- 14
- 16
- 18
- 20
- active-lts
- latest
- newest-maintenance-lts
- oldest-maintenance-lts
- oldest
- plugins
- test-and-upstream
- test
- upstream
- workflows
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
0 commit comments