-
-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (37 loc) · 1.03 KB
/
ci-build.yml
File metadata and controls
43 lines (37 loc) · 1.03 KB
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
permissions:
contents: read
name: Build
on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
inputs:
os:
description: 'OS of runner'
default: 'ubuntu-latest'
type: string
env:
TURBO_TELEMETRY_DISABLED: 1
jobs:
build:
name: Build
runs-on: ${{ inputs.os }}
steps:
- name: 👷 Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: 🛠️ Setup workspace
uses: ./.github/actions/setup-workspace
with:
node-version: '20'
- name: 🏗️ Build Packages
run: pnpm run build
shell: bash
- name: ⬆️ Upload Build Artifacts
if: ${{ runner.os == 'Linux' }}
uses: ./.github/actions/upload-archive
with:
name: vscode-webdriverio
output: vscode-webdriverio-build.zip
paths: packages/*/dist