Feature/PPPSYS-43233 server components support #7
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: Monorepo development pipeline | |
on: | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
build-library: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use NodeJS 18 | |
uses: actions/[email protected] | |
with: | |
node-version: "18" | |
cache: "npm" | |
- name: Install library dependencies | |
run: npm ci | |
- name: Run library build | |
run: npm run build | |
- name: Install example dependencies | |
run: cd example && npm ci | |
- name: Run example build | |
run: cd example && npm run build | |
- name: Run example tests | |
run: cd example && npm run test |