Use recursive structure in the manifest to allow more flexible and deep navigation #27
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: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
############################################################## | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
# cancel-in-progress: true | |
permissions: | |
contents: read | |
############################################################## | |
jobs: | |
############################################################## | |
install_dependencies: | |
name: Setup | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wyvox/action-setup-pnpm@v3 | |
- run: echo ${{ github.event.number }} > ./pr-number.txt | |
############################################################## | |
lints: | |
name: "Lints" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
needs: [install_dependencies] | |
strategy: | |
matrix: | |
project: | |
- "kolay" | |
- "docs-app" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wyvox/action-setup-pnpm@v3 | |
- run: pnpm -w --filter ${{ matrix.project }} lint | |
############################################################## | |
node_tests: | |
name: "Node Tests" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
needs: [install_dependencies] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wyvox/action-setup-pnpm@v3 | |
- run: pnpm test | |
browser_tests: | |
name: "Browser Tests" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
needs: [install_dependencies] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wyvox/action-setup-pnpm@v3 | |
- run: pnpm test | |
working-directory: docs-app |