Skip to content

Commit 00a4116

Browse files
committed
update node version, run only on ubuntu
1 parent c6b1546 commit 00a4116

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [ubuntu-latest, windows-latest, macOS-latest]
22+
# os: [ubuntu-latest, windows-latest, macOS-latest]
23+
os: [ubuntu-latest]
2324
steps:
2425
- uses: actions/checkout@v2
2526
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
@@ -45,9 +46,9 @@ jobs:
4546
echo $VERSION > .version
4647
echo $NAME > .name
4748
- name: Use Node.js
48-
uses: actions/setup-node@v1
49+
uses: actions/setup-node@v2
4950
with:
50-
node-version: 14.x
51+
node-version: 16
5152
- run: npm install
5253
- name: lint
5354
if: runner.os == 'Linux'
@@ -130,9 +131,9 @@ jobs:
130131
name: meta
131132
path: .
132133
- name: Use Node.js
133-
uses: actions/setup-node@v1
134+
uses: actions/setup-node@v2
134135
with:
135-
node-version: 12.x
136+
node-version: 16
136137
- name: Prepare build
137138
id: set-version
138139
run: |

0 commit comments

Comments
 (0)