Fix 401 error when opening PDS members after cred change #2624
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: 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 |