chore: release version bump (patch) #54
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: Tests and Build | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize] | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Format | |
| run: npm run format:check | |
| - name: Build | |
| run: npm run build | |
| - name: Check types | |
| run: npm run check:types | |
| - name: Test | |
| run: npm run test | |
| - name: Deploy prepare | |
| if: github.ref == 'refs/heads/main' | |
| run: npm run --workspace packages/react-components build:storybook | |
| - name: Deploy to gh-pages | |
| if: github.ref == 'refs/heads/main' | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./packages/react-components/public |