Repository navigation
Fix external link icon wrapping #33
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: Build | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: corepack enable | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version-file: package.json | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm run format:check | |
| # Build first: it generates the CSS Module declarations that ESLint's | |
| # type-aware rules and `astro check` both read. | |
| # | |
| # With the test pages, as `pnpm check` does: a test page is sometimes the | |
| # only consumer of a piece of `lib/`, and `astro check` only type-checks | |
| # what the build pulled in. | |
| - run: INCLUDE_TEST_PAGES=1 pnpm run build | |
| - run: pnpm run lint | |
| - run: pnpm run test |