Skip to content

Commit 9f20d50

Browse files
committed
Test actions on macos
As the workflows work locally
1 parent 3ddb63d commit 9f20d50

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: macos-latest
1212

1313
strategy:
1414
matrix:
@@ -25,7 +25,5 @@ jobs:
2525
run: npm ci
2626
- name: Build regl-scatterplot
2727
run: npm run build --if-present
28-
- name: Run tests
29-
uses: GabrielBB/xvfb-action@v1
30-
with:
31-
run: npm test
28+
- name: Test regl-scatterplot
29+
run: npm test

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,20 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: macos-latest
1111
steps:
1212
- uses: actions/checkout@v2
1313
- uses: actions/setup-node@v1
1414
with:
1515
node-version: 16
16-
- run: sudo apt-get install xvfb
1716
- run: npm ci
1817
- run: npm run build --if-present
1918
env:
2019
CI: true
2120

2221
publish-npm:
2322
needs: build
24-
runs-on: ubuntu-latest
23+
runs-on: macos-latest
2524
steps:
2625
- uses: actions/checkout@v2
2726
- uses: actions/setup-node@v1

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build:
1010
name: Create Release
11-
runs-on: ubuntu-latest
11+
runs-on: macos-latest
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v2

0 commit comments

Comments
 (0)