Skip to content

chore(examples): add examples #2

chore(examples): add examples

chore(examples): add examples #2

Workflow file for this run

name: examples
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
- dir: components/add

Check failure on line 13 in .github/workflows/examples.yml

View workflow run for this annotation

GitHub Actions / examples

Invalid workflow file

The workflow is not valid. .github/workflows/examples.yml (Line: 13, Col: 9): A sequence was not expected
name: add
- dir: components/string-reverse
name: string-reverse
- dir: components/string-reverse-upper
name: string-reverse-upper
composed: true
steps:
- name: install (${{ matrix.name }})
working-directory: ${{ matrix.dir }}
run: |
pnpm install
- name: build (${{ matrix.name }})
working-directory: ${{ matrix.dir }}
run: |
pnpm build
- name: transpile (${{ matrix.name }})
working-directory: ${{ matrix.dir }}
run: |
pnpm transpile
- name: compose (${{ matrix.name }})
if: ${{ matrix.composed }}
working-directory: ${{ matrix.dir }}
run: |
pnpm compose
- name: run transpiled js (${{ matrix.name }})
if: ${{ matrix.composed }}
working-directory: ${{ matrix.dir }}
run: |
pnpm transpiled-js