Unverified Commit 9242e91a authored by Danny McCormick's avatar Danny McCormick Committed by GitHub
Browse files

v2 workflow (#2)

* v2 workflow

* Delete legacy workflow
parent 46ca045b
Loading
Loading
Loading
Loading
+7 −8
Changes for .github/workflows/workflow.yml: 7 added lines, 8 removed lines.
Original line number Diff line number Diff line
on: push
name: Main workflow
on: [push]
jobs:
  build:
    runs-on:
      pool: ${{ matrix.operating-system }}
  run:
    name: Run
    runs-on: ${{ matrix.operating-system }}
    strategy:
      matrix:
        operating-system: [Linux]
        operating-system: [ubuntu-latest, windows-latest]
    actions:
    - name: Set Node.js 10.x
      uses: bryanmacfarlane/node-config@master
@@ -13,9 +14,7 @@ jobs:
        version: 10.x

    - name: npm install
      # Explicitly uninstall husky so that we avoid issues with git hooks/node versioning.
      # Should switch to clean checkout instead when supported.
      run: npm prune --production && npm install && npm uninstall husky
      run: npm install

    - name: Lint
      run: npm run format-check