chore(deps): update dependency @sveltejs/kit to ^2.58.0 (#76) #29
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
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| name: Deno Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**.ts' | |
| - '.github/workflows/test.yml' | |
| - 'deno.jsonc' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - '**.ts' | |
| permissions: | |
| contents: read | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup repo | |
| uses: actions/checkout@v6 | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@v2.0.4 | |
| with: | |
| deno-version: 2.7.14 | |
| - name: Check | |
| run: deno task check | |
| - name: Run linter | |
| run: deno task lint | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup repo | |
| uses: actions/checkout@v6 | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@v2.0.4 | |
| with: | |
| deno-version: 2.7.14 | |
| - name: Run test | |
| shell: bash | |
| run: deno task test | |
| coverage-report: | |
| needs: | |
| - ci | |
| - test | |
| if: false # if you want to upload coverage report to Codecov, set to true | |
| runs-on: ubuntu-latest | |
| permissions: | |
| write-all | |
| steps: | |
| - name: Download coverage report from Artifact | |
| uses: actions/download-artifact@v8 | |
| with: | |
| name: my-artifact | |
| path: ./.coverage | |
| - name: Upload coverage report to Codecov | |
| uses: codecov/codecov-action@v6.0.0 | |
| with: | |
| file: ./.coverage/lcov.info | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: ${{ github.repository }} | |
| jsr-publish-dry-run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: denoland/setup-deno@v2.0.4 | |
| with: | |
| deno-version: ${{ env.DENO_VERSION }} | |
| - run: deno publish --dry-run | |
| action-timeline: | |
| needs: | |
| - ci | |
| - test | |
| - coverage-report | |
| - jsr-publish-dry-run | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: Kesin11/actions-timeline@v3 |