Prevent changesets from updating vn-number dependency in docs package #48
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: Test | |
| on: | |
| workflow_call: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| lints: | |
| name: Lints | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Setup toolchains | |
| uses: jdx/mise-action@be3be2260bc02bc3fbf94c5e2fed8b7964baf074 # v3.4.0 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Biome check | |
| run: pnpm biome check | |
| - name: Syncpack lint | |
| run: pnpm syncpack lint | |
| - name: Syncpack format | |
| run: pnpm syncpack format --check | |
| - name: Checks for known security issues with the installed packages | |
| run: pnpm audit | |
| - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies | |
| run: pnpm npm audit signatures | |
| - name: Verify the package for publishing performing all checks and validations | |
| run: pnpm dlx jsr publish --dry-run | |
| unit-test: | |
| name: Unit Test | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Setup toolchains | |
| uses: jdx/mise-action@be3be2260bc02bc3fbf94c5e2fed8b7964baf074 # v3.4.0 | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Run Tests | |
| run: pnpm vitest --coverage --reporter=junit --outputFile=test-report.junit.xml | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| with: | |
| use_oidc: true | |
| - name: Upload test results to Codecov | |
| uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1 | |
| if: ${{ !cancelled() }} | |
| with: | |
| use_oidc: true | |
| deno: | |
| name: Deno | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Install Deno | |
| uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3 | |
| - name: Type-check the dependencies | |
| run: deno check src/index.ts |