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