forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 927 Bytes
/
build.yml
File metadata and controls
33 lines (28 loc) · 927 Bytes
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
name: Build WebdriverIO
on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
jobs:
build:
permissions:
contents: read
packages: read
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout Code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: 🧑🔧 Get Core Dependencies
uses: ./.github/workflows/actions/get-core-dependencies
- name: 👷 Bootstrap Packages
run: pnpm run setup
shell: bash
env:
NODE_ENV: production
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
- name: ⬆️ Upload Build Artifacts
uses: ./.github/workflows/actions/upload-archive
with:
name: webdriverio
output: webdriverio-build.zip
paths: packages/*/build packages/*/cjs