-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (33 loc) · 968 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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