Skip to content

Commit 729c95c

Browse files
committed
updated node version to more maintainable syntax
1 parent 34b79b6 commit 729c95c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Use Node.js
2323
uses: actions/setup-node@v1
2424
with:
25-
node-version: 14.x
25+
node-version: lts/*
2626
- name: Get yarn cache directory path
2727
id: yarn-cache-dir-path
2828
run: echo "::set-output name=dir::$(yarn cache dir)"
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
strategy:
4242
matrix:
43-
node-version: [16.x, 18.x]
43+
node-version: [lts/*, current]
4444
steps:
4545
- uses: actions/checkout@v2
4646
- name: Use Node.js ${{ matrix.node-version }}
@@ -69,7 +69,7 @@ jobs:
6969
- name: Use Node.js
7070
uses: actions/setup-node@v1
7171
with:
72-
node-version: 14.x
72+
node-version: lts/*
7373
- name: Get yarn cache directory path
7474
id: yarn-cache-dir-path
7575
run: echo "::set-output name=dir::$(yarn cache dir)"
@@ -98,7 +98,7 @@ jobs:
9898
- name: Use Node.js
9999
uses: actions/setup-node@v1
100100
with:
101-
node-version: 14.x
101+
node-version: lts/*
102102
registry-url: 'https://registry.npmjs.org'
103103
- name: Get yarn cache directory path
104104
id: yarn-cache-dir-path
@@ -128,7 +128,7 @@ jobs:
128128
- name: Use Node.js
129129
uses: actions/setup-node@v1
130130
with:
131-
node-version: 14.x
131+
node-version: lts/*
132132
registry-url: 'https://registry.npmjs.org'
133133
- name: Get yarn cache directory path
134134
id: yarn-cache-dir-path

0 commit comments

Comments
 (0)