name: Build WebdriverIO
on:
workflow_call:
jobs:
build:
permissions:
contents: read
packages: read
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout Code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
- 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