Skip to content

Commit de3316d

Browse files
authored
Improve support for developing on Windows (#485)
* Expand actions to run on Mac + Win in addition to Linux * Switch to cross-platform way to call tslint
1 parent 065e5e1 commit de3316d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ on:
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-latest
15-
1614
strategy:
1715
matrix:
16+
os: [ubuntu-latest, macos-latest, windows-latest]
1817
node-version: [12.x, 14.x, 16.x]
19-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18+
19+
runs-on: ${{ matrix.os }}
2020

2121
# NOTE: There are no necessary tests to run for this repo
2222
steps:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start-sandbox": "npx tabextsandbox --config sandbox-config.json",
99
"lint": "npm run jslint && npm run tslint",
1010
"jslint": "semistandard ./Samples/*/*.js",
11-
"tslint": "./node_modules/.bin/tslint --config ./tslint.json ./Samples-Typescript/*/*.ts*",
11+
"tslint": "npx tslint --config ./tslint.json ./Samples-Typescript/*/*.ts*",
1212
"dev": "concurrently --kill-others \"webpack --watch\" \"npm:start\""
1313
},
1414
"repository": {

0 commit comments

Comments
 (0)