fix(timer): sync schedule updates and document use cases #23
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: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 1. Checkout source | |
| uses: actions/checkout@v4 | |
| - name: 2. Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.30.2 | |
| - name: 3. Setup Node 24 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: 4. Install dependencies | |
| id: install | |
| run: pnpm install --frozen-lockfile | |
| - name: 5. Typecheck library | |
| id: typecheck | |
| run: pnpm typecheck | |
| - name: 6. Run tests | |
| id: test | |
| run: pnpm test | |
| - name: 7. Build package | |
| id: build | |
| run: pnpm build | |
| - name: 8. Build Docusaurus docs | |
| id: docs | |
| run: pnpm docs:build | |
| - name: 9. Check README | |
| id: readme | |
| run: pnpm readme:check | |
| - name: CI summary | |
| if: always() | |
| run: | | |
| { | |
| echo "## CI pipeline" | |
| echo | |
| echo "| Stage | Result |" | |
| echo "| --- | --- |" | |
| echo "| Install | ${{ steps.install.outcome }} |" | |
| echo "| Typecheck | ${{ steps.typecheck.outcome }} |" | |
| echo "| Tests | ${{ steps.test.outcome }} |" | |
| echo "| Package build | ${{ steps.build.outcome }} |" | |
| echo "| Docs build | ${{ steps.docs.outcome }} |" | |
| echo "| README check | ${{ steps.readme.outcome }} |" | |
| } >> "$GITHUB_STEP_SUMMARY" |