Skip to content

Configure Mend for GitHub Enterprise #104

Configure Mend for GitHub Enterprise

Configure Mend for GitHub Enterprise #104

Workflow file for this run

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