Skip to content

fix(fsp): Do not fetch changes during conflict; use custom context val #2247

fix(fsp): Do not fetch changes during conflict; use custom context val

fix(fsp): Do not fetch changes during conflict; use custom context val #2247

name: Zowe Explorer Samples CI
on:
push:
paths:
- .github/workflows/zowe-explorer-samples.yml
- packages/zowe-explorer-api/**
- samples/**
pull_request:
paths:
- .github/workflows/zowe-explorer-samples.yml
- packages/zowe-explorer-api/**
- samples/**
jobs:
samples-build:
runs-on: ubuntu-latest
timeout-minutes: 30
concurrency:
group: node-${{ matrix.node-version }}-ze-samples-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: [18.x, 20.x]
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 pnpm
- run: npm install -g pnpm@8
- run: pnpm config set network-timeout 60000 && pnpm i
- run: pnpm --filter "zowe-explorer-api" build
- run: for dir in samples/*; do pushd $dir && pnpm --ignore-workspace i && pnpm run compile && popd; done
shell: bash