From 4972b1113e4baf7f334fda4977ddb16c57636a51 Mon Sep 17 00:00:00 2001 From: Brian Cantoni Date: Wed, 2 Mar 2022 16:56:59 -0800 Subject: [PATCH 1/3] Expand actions to work on all 3 OS and PRs off dev branch --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5fcb024b..23996e71 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,18 +5,18 @@ name: Build on: push: - branches: [ main ] + branches: [ dev, main ] pull_request: - branches: [ main ] + branches: [ dev, main ] jobs: build: - runs-on: ubuntu-latest - strategy: matrix: + os: [ubuntu-latest, macos-latest, windows-latest] node-version: [12.x, 14.x, 16.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + runs-on: ${{ matrix.os }} # NOTE: There are no necessary tests to run for this repo steps: From 3d5fdfc74c3c0a345723b7c4f0bd9f09ebdfa891 Mon Sep 17 00:00:00 2001 From: Brian Cantoni Date: Thu, 3 Mar 2022 08:00:26 -0800 Subject: [PATCH 2/3] Switch to cross-platform way to call tslint --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d0960358..f742e1d9 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start-sandbox": "npx tabextsandbox --config sandbox-config.json", "lint": "npm run jslint && npm run tslint", "jslint": "semistandard ./Samples/*/*.js", - "tslint": "./node_modules/.bin/tslint --config ./tslint.json ./Samples-Typescript/*/*.ts*", + "tslint": "npx tslint --config ./tslint.json ./Samples-Typescript/*/*.ts*", "dev": "concurrently --kill-others \"webpack --watch\" \"npm:start\"" }, "repository": { From e0a0e248e3189d0eaf972e4c562a32949616b032 Mon Sep 17 00:00:00 2001 From: Brian Cantoni Date: Thu, 3 Mar 2022 08:07:52 -0800 Subject: [PATCH 3/3] Revert dev branch idea - will not work due to private artifactory --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 23996e71..b6ccd086 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,9 +5,9 @@ name: Build on: push: - branches: [ dev, main ] + branches: [ main ] pull_request: - branches: [ dev, main ] + branches: [ main ] jobs: build: