Migrate from (Node v23 + pnpm) to (Deno v2 + JSR) #449
Workflow file for this run
This file contains 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: 🔗Pull Request Checks Workflow | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
checks: | |
name: 🫸 Pull Request Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 📦 Setup Deno and install deps | |
uses: ./.github/actions/setup | |
- name: Setup Biome | |
uses: biomejs/setup-biome@v2 | |
with: | |
version: latest | |
- name: type check | |
run: deno task --recursive typecheck | |
- name: type check docs | |
run: deno task --recursive typecheck --doc-only | |
- name: 🧬 check packages/resume code for errors (with Biome) | |
working-directory: ./packages/resume | |
run: | | |
biome ci \ | |
--formatter-enabled=false \ | |
--linter-enabled=true \ | |
--organize-imports-enabled=false \ | |
. | |
- name: 🧬 check packages/schema-resume code for errors (with Biome) | |
working-directory: ./packages/schema-resume | |
run: | | |
biome ci \ | |
--formatter-enabled=false \ | |
--linter-enabled=true \ | |
--organize-imports-enabled=false \ | |
. | |
- name: deno lint code | |
continue-on-error: true | |
run: deno lint packages/**/*.ts | |
- name: deno lint docs | |
continue-on-error: true | |
run: deno doc --lint packages/**/*.ts | |
- name: 🧪 Run unit tests | |
run: deno task test:all --coverage | |
- name: 🛫 Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
fail_ci_if_error: false | |
verbose: true | |
files: ./coverage/coverage-final.json | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: 🦋 Require changesets | |
run: deno task changeset:status --since=origin/main |