[DOCS] standardize theme guides #37
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.event.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit-tests: | |
| name: Unit tests | |
| runs-on: ubuntu-slim | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: package.json | |
| - name: Configure sustainable npm | |
| uses: lowlydba/sustainable-npm@31d51025884f424f58f22e4e6578178bb4e79632 # v3.0.0 | |
| - name: Install NPM dependencies | |
| run: npm ci | |
| - name: Run tests | |
| run: npm test | |
| a11y: | |
| name: Accessibility (WCAG 2.2 AA) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: package.json | |
| - name: Configure sustainable npm | |
| uses: lowlydba/sustainable-npm@31d51025884f424f58f22e4e6578178bb4e79632 # v3.0.0 | |
| - name: Install NPM dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Install Playwright browser | |
| run: npx playwright install chromium --with-deps | |
| - name: Run accessibility tests | |
| run: npm run test:a11y | |
| query-tests: | |
| name: DuckDB query smoke tests | |
| uses: ./.github/workflows/query-tests.yml | |
| permissions: | |
| contents: read | |
| are-we-good: | |
| name: are-we-good | |
| runs-on: ubuntu-slim | |
| needs: [unit-tests, a11y, query-tests] | |
| if: always() | |
| steps: | |
| - uses: lowlydba/are-we-good@4b62765391e357e78d0572113ab8b1c7d6b8d12a # v1.0.4 | |
| with: | |
| jobs: ${{ toJSON(needs) }} |