Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 0202b3d

Browse files
committed
run tests and release on ubuntu-latest/macos-latest
1 parent 09115fe commit 0202b3d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
fail-fast: false
5151
matrix:
5252
build:
53-
- { os: ubuntu-20.04, output: linux-x86_64.node }
53+
- { os: ubuntu-latest, output: linux-x86_64.node }
5454
- { os: macos-latest, output: darwin-x86_64.node }
5555
steps:
5656
- name: set NPM_CONFIG_PREFIX
@@ -129,7 +129,7 @@ jobs:
129129
build-package:
130130
name: build-package
131131
needs: ['build-node-files']
132-
runs-on: ubuntu-20.04
132+
runs-on: ubuntu-latest
133133
steps:
134134
- name: checkout
135135
uses: actions/checkout@v2
@@ -199,7 +199,7 @@ jobs:
199199
fail-fast: false
200200
matrix:
201201
node: [ '10', '12', '14', '15' ]
202-
os: [ubuntu-20.04, macos-latest]
202+
os: [ ubuntu-latest, macos-latest ]
203203
steps:
204204
- name: checkout
205205
uses: actions/checkout@v2
@@ -238,7 +238,7 @@ jobs:
238238
publish-package:
239239
name: publish-package
240240
needs: ['test-package']
241-
runs-on: ubuntu-20.04
241+
runs-on: ubuntu-latest
242242
steps:
243243
- name: download env artifact
244244
uses: actions/download-artifact@v1

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ env:
1212
jobs:
1313
test:
1414
name: run tests
15-
runs-on: ubuntu-latest
15+
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
1818
node: [ '10', '12', '14', '15' ]
19-
19+
os: [ ubuntu-latest, macos-latest ]
2020
steps:
2121
- name: set NPM_CONFIG_PREFIX
2222
run: |

0 commit comments

Comments
 (0)