From 1f555ee56ec499b26a14253670be9bb69f964649 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Fri, 7 Jun 2019 13:14:48 -0400 Subject: [PATCH] Dogfood ci --- .azure-pipelines.yml | 40 --------------------------------------- .github/main.workflow.yml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 40 deletions(-) delete mode 100644 .azure-pipelines.yml create mode 100644 .github/main.workflow.yml diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml deleted file mode 100644 index 29468560..00000000 --- a/.azure-pipelines.yml +++ /dev/null @@ -1,40 +0,0 @@ -trigger: -- master -- features/* - -jobs: -- job: Tests - displayName: Run tests - strategy: - matrix: - linux: - imageName: 'ubuntu-16.04' - mac: - imageName: 'macos-10.13' - windows: - imageName: 'vs2017-win2016' - pool: - vmImage: $(imageName) - - steps: - - task: NodeTool@0 - inputs: - versionSpec: "10" - - - script: npm install - - - script: npm test - -- job: Lint - displayName: Linting - pool: - vmImage: 'ubuntu-16.04' - - steps: - - task: NodeTool@0 - inputs: - versionSpec: "10" - - - script: npm install - - - script: npm run format-check \ No newline at end of file diff --git a/.github/main.workflow.yml b/.github/main.workflow.yml new file mode 100644 index 00000000..609568b1 --- /dev/null +++ b/.github/main.workflow.yml @@ -0,0 +1,19 @@ +version: 1 +on: push +jobs: + + build: + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: [ubuntu-latest, macOS-latest, windows-latest] + actions: + - name: npm install + run: npm install + + - name: Lint + run: npm run format-check + + + - name: npm test + run: npm test \ No newline at end of file