Skip to content

chore(examples): add examples #3

chore(examples): add examples

chore(examples): add examples #3

Workflow file for this run

name: examples
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
project:
- name:
dir: components/add
- name: string-reverse
dir: components/string-reverse
- name: string-reverse-upper
dir: components/string-reverse-upper
is-composed: true
steps:
- name: install (${{ matrix.project.name }})
working-directory: ${{ matrix.project.dir }}
run: |
pnpm install
- name: build (${{ matrix.project.name }})
working-directory: ${{ matrix.project.dir }}
run: |
pnpm build
- name: transpile (${{ matrix.project.name }})
working-directory: ${{ matrix.project.dir }}
run: |
pnpm transpile
- name: compose (${{ matrix.project.name }})
if: ${{ matrix.project.is-composed }}
working-directory: ${{ matrix.project.dir }}
run: |
pnpm compose
- name: run transpiled js (${{ matrix.project.name }})
if: ${{ matrix.project.composed }}
working-directory: ${{ matrix.project.dir }}
run: |
pnpm transpiled-js