Skip to content

Merge branch 'remove-history-shortcut' of github.com:zowe/vscode-exte… #7907

Merge branch 'remove-history-shortcut' of github.com:zowe/vscode-exte…

Merge branch 'remove-history-shortcut' of github.com:zowe/vscode-exte… #7907

name: Zowe Explorer CI
on:
push:
paths:
- packages/zowe-explorer/**
- packages/zowe-explorer-api/**
pull_request:
paths:
- packages/zowe-explorer/**
- packages/zowe-explorer-api/**
jobs:
ze-build:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
concurrency:
group: ${{ matrix.os }}-node-${{ matrix.node-version }}-ze-ci-${{ github.ref }}
cancel-in-progress: true
strategy:
# Continue to run tests on the other systems if one fails
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x]
# order operating systems from best to worst
os: [windows-latest, ubuntu-latest, macos-latest]
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]')
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# install yarn
- run: npm install -g yarn
- run: yarn config set network-timeout 60000 && yarn install --frozen-lockfile
- run: yarn test
env:
CI: true
NODE_OPTIONS: --max_old_space_size=4096
- name: Upload test results
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16.x'
with:
name: zowe-explorer-results
path: packages/zowe-explorer/results/
- name: Upload API test results
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16.x'
with:
name: zowe-explorer-api-results
path: packages/zowe-explorer-api/results/
- name: Upload Results to Codecov
uses: codecov/codecov-action@v3
with:
env_vars: OS,NODE
- name: Package VSIX
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16.x'
run: yarn package
working-directory: packages/zowe-explorer
- name: Archive VSIX artifact
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16.x'
uses: actions/upload-artifact@v3
with:
name: zowe-explorer-vsix
path: dist/*.vsix