Skip to content

Migrate build tool from package to standalone script #543

Migrate build tool from package to standalone script

Migrate build tool from package to standalone script #543

Workflow file for this run

name: client-build
on: [pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, windows, macos]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm ci
- run: npm run build
- run: |
gh run download --name zowe-server
mkdir packages/cli/bin && cp server.pax.Z packages/cli/bin/
mkdir packages/vsce/bin && cp server.pax.Z packages/vsce/bin/
env:
GH_TOKEN: ${{ github.token }}
- run: npm run package
- uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'ubuntu' }}
with:
name: zowe-native-proto-cli
path: dist/*.tgz
- uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'ubuntu' }}
with:
name: zowe-native-proto-vsce
path: dist/*.vsix