We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60b1913 commit 2d3398eCopy full SHA for 2d3398e
.github/workflows/unit-test.yml
@@ -13,7 +13,7 @@ jobs:
13
id: generate-matrix
14
run: |
15
sudo apt-get install -y lynx
16
- lynx -dump https://endoflife.date/nodejs | grep -E -o '[0-9]+ \(LTS\)' | grep -E -o '([0-9]+)' > eol.list
+ lynx -dump https://endoflife.date/nodejs | grep -E -o '[0-9]+[( a-zA-Z]+LTS\)' | grep -E -o '([0-9]+)' > eol.list
17
cat eol.list
18
lts1=$(cat eol.list | head -1)
19
lts2=$(cat eol.list | head -2 | tail -1)
0 commit comments