diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 46b525a..1ba799d 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -54,6 +54,28 @@ jobs: - run: npm test + runSdkManager: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, windows-2016, windows-2019 ] + + steps: + - uses: actions/checkout@v2 + + - name: Setup node 12 + uses: actions/setup-node@v2.1.4 + with: + node-version: '12' + + - run: npm ci + - run: npm run build + + - run: node dist/index.js + + - run: sdkmanager --list + lint: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 15999af..4cd26dd 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -14,29 +14,7 @@ on: - '.github/*.json' jobs: - runSdkManager: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, windows-2016, windows-2019 ] - - steps: - - uses: actions/checkout@v2 - - - name: Setup node 12 - uses: actions/setup-node@v2.1.4 - with: - node-version: '12' - - - run: npm ci - - run: npm run build - - - run: node dist/index.js - - - run: sdkmanager --list - - buildSampleApplication: + build: runs-on: ${{ matrix.os }} strategy: matrix: