fix(v2): Update migrated and recalled data sets in tree (#3333) #13396
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: 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: [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@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
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@v4 | |
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@v4 | |
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@v4 | |
with: | |
env_vars: OS,NODE | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- 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@v4 | |
with: | |
name: zowe-explorer-vsix | |
path: dist/*.vsix |