trigger path-tmpl-worker on doc type update #510
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: UI2 Build | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'ui2/**' | |
- '.github/workflows/ui2.yml' | |
jobs: | |
ui: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ui2 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: 'yarn' | |
cache-dependency-path: ui2/yarn.lock | |
- name: Install latest Yarn | |
run: corepack prepare yarn@stable --activate | |
- name: Activate latest Yarn | |
run: yarn set version stable | |
- name: Install Node.js dependencies | |
run: yarn install | |
- name: Run yarn build | |
run: yarn build |