Merge pull request #22 from lightpanda-io/feat/add-docs-tabs #49
This file contains hidden or 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: Lightpanda Docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| # Environment variables available to all jobs and steps in this workflow | |
| env: | |
| NODE_VERSION: "20.19.0" | |
| jobs: | |
| # Lint job | |
| lint: | |
| name: Lint (Next / Biome) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node @ ${{ env.NODE_VERSION }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Lint | |
| run: yarn biome-lint |