Skip to content

Commit 4449919

Browse files
committed
chore(ci): ask for LTS, not hard-coded version
1 parent 442f416 commit 4449919

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: .github/workflows/nodejs.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-node@v2
2222
with:
23-
node-version: 14.x
23+
node-version: lts/*
2424
cache: yarn
2525

2626
- name: Validate cache
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v2
3939
- uses: actions/setup-node@v2
4040
with:
41-
node-version: 14.x
41+
node-version: lts/*
4242
cache: yarn
4343
- name: install
4444
run: yarn
@@ -52,7 +52,7 @@ jobs:
5252
- uses: actions/checkout@v2
5353
- uses: actions/setup-node@v2
5454
with:
55-
node-version: 14.x
55+
node-version: lts/*
5656
cache: yarn
5757
- name: install
5858
run: yarn
@@ -108,7 +108,7 @@ jobs:
108108
- uses: actions/checkout@v2
109109
- uses: actions/setup-node@v2
110110
with:
111-
node-version: 14.x
111+
node-version: lts/*
112112
cache: yarn
113113
- name: install
114114
run: yarn
@@ -127,7 +127,7 @@ jobs:
127127
- uses: actions/checkout@v2
128128
- uses: actions/setup-node@v2
129129
with:
130-
node-version: 14.x
130+
node-version: lts/*
131131
cache: yarn
132132
- name: install
133133
run: yarn
@@ -150,7 +150,7 @@ jobs:
150150
- uses: actions/checkout@v2
151151
- uses: actions/setup-node@v2
152152
with:
153-
node-version: 14.x
153+
node-version: lts/*
154154
cache: yarn
155155
- name: install
156156
run: yarn

0 commit comments

Comments
 (0)