Repository navigation
docs: add social images and better search metadata #1511
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: Checks | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| # The token of a run only reads: code that a pull request runs cannot push or start a release with it | |
| permissions: | |
| contents: read | |
| jobs: | |
| size: | |
| runs-on: ubuntu-latest | |
| name: size-limit | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 | |
| with: | |
| version: 12 | |
| - name: Install Node.js | |
| uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 | |
| with: | |
| node-version-file: .tool-versions | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build package | |
| run: pnpm build | |
| - name: Check size | |
| run: pnpm test:size | |
| editorconfig: | |
| runs-on: ubuntu-latest | |
| name: editorconfig | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install editorconfig-checker | |
| uses: editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393 # v3.0.0 | |
| - name: Check editorconfig | |
| run: editorconfig-checker | |
| package-json: | |
| runs-on: ubuntu-latest | |
| name: package.json | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 | |
| with: | |
| version: 12 | |
| - name: Install Node.js | |
| uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 | |
| with: | |
| node-version-file: .tool-versions | |
| cache: 'pnpm' | |
| # The sandboxes and the website are private apps, not published packages | |
| - name: Check package.json files | |
| run: pnpm --package=@trigen/lint-package-json dlx lint-package-json --ignore sandboxes --ignore website | |
| storybook: | |
| runs-on: ubuntu-latest | |
| name: storybook | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 | |
| with: | |
| version: 12 | |
| - name: Install Node.js | |
| uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 | |
| with: | |
| node-version-file: .tool-versions | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build storybook | |
| run: pnpm storybook:build | |
| website: | |
| runs-on: ubuntu-latest | |
| name: website | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 | |
| with: | |
| version: 12 | |
| - name: Install Node.js | |
| uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 | |
| with: | |
| node-version-file: .tool-versions | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build website | |
| run: pnpm docs:build |