Fix library casing during test run and installation #107
Workflow file for this run
This file contains hidden or 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 Extension & CLI | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Validation | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install Extension Dependencies | |
| run: | | |
| npm install | |
| npm install -g vsce | |
| - name: Install CLI Dependencies | |
| working-directory: cli | |
| run: | | |
| npm run install:api | |
| npm install | |
| - name: Build Extension | |
| run: vsce package | |
| - name: Upload VSIX | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: vscode-ibmi-testing-pr-build | |
| path: ./*.vsix | |
| if-no-files-found: error | |
| - name: Build CLI | |
| working-directory: cli | |
| run: | | |
| npm run webpack | |
| npm publish --dry-run |