APIGOV-28296 NPM issue - Unable to install axway-central-cli #380
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
- pull_request | |
- push | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
- name: Install dependencies | |
run: yarn | |
- name: Lint | |
run: yarn run gulp lint | |
Test: | |
needs: Lint | |
name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
nodeVersion: [ '16.8.0' ] | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.nodeVersion }} | |
- name: Install dependencies | |
run: yarn | |
- name: Run tests | |
run: yarn run test | |
Test-Deprecated: | |
needs: Lint | |
name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
nodeVersion: [ '12.18.0', '14.15.1' ] | |
os: [ macos-12, ubuntu-latest, windows-latest ] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.nodeVersion }} | |
- name: Install dependencies | |
run: yarn | |
- name: Run tests | |
run: yarn run test |