Skip to content
This repository was archived by the owner on Jun 3, 2023. It is now read-only.

Commit 7bed832

Browse files
author
Victor Navarro
committed
ci: matrix os and node
1 parent ba740a8 commit 7bed832

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

.github/workflows/node-ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@ on:
44

55
jobs:
66
node-ci:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest, windows-latest]
11+
node: [yes, no]
12+
exclude:
13+
- os: windows-latest
14+
node: no
815
steps:
916
- name: Checkout
1017
uses: actions/checkout@v2
1118
- name: Setup Node
1219
uses: actions/setup-node@v1
20+
if: ${{ matrix.node }}
1321
- name: Install Dependencies
1422
run: yarn install
1523
- name: Run Action

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"license": "MIT",
2626
"dependencies": {
2727
"@actions/core": "1.2.5",
28-
"@actions/exec": "1.0.4",
2928
"command-exists": "^1.2.9"
3029
},
3130
"devDependencies": {

yarn.lock

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,6 @@
77
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.2.5.tgz#fa57bf8c07a38191e243beb9ea9d8368c1cb02c8"
88
integrity sha512-mwpoNjHSWWh0IiALdDEQi3tru124JKn0yVNziIBzTME8QRv7thwoghVuT1jBRjFvdtoHsqD58IRHy1nf86paRg==
99

10-
"@actions/exec@1.0.4":
11-
version "1.0.4"
12-
resolved "https://registry.yarnpkg.com/@actions/exec/-/exec-1.0.4.tgz#99d75310e62e59fc37d2ee6dcff6d4bffadd3a5d"
13-
integrity sha512-4DPChWow9yc9W3WqEbUj8Nr86xkpyE29ZzWjXucHItclLbEW6jr80Zx4nqv18QL6KK65+cifiQZXvnqgTV6oHw==
14-
dependencies:
15-
"@actions/io" "^1.0.1"
16-
17-
"@actions/io@^1.0.1":
18-
version "1.0.2"
19-
resolved "https://registry.yarnpkg.com/@actions/io/-/io-1.0.2.tgz#2f614b6e69ce14d191180451eb38e6576a6e6b27"
20-
integrity sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg==
21-
2210
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4":
2311
version "7.10.4"
2412
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a"

0 commit comments

Comments
 (0)