fix: doc HMR #3
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
on: | |
pull_request: | |
name: "Test" | |
jobs: | |
install-deps: | |
runs-on: ubuntu-latest | |
name: Install Dependencies | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
version: 9 | |
run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
unit-test: | |
needs: install-deps | |
runs-on: ubuntu-latest | |
name: Unit Test | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Run Unit Tests | |
run: pnpm test | |
type-test: | |
needs: install-deps | |
runs-on: ubuntu-latest | |
name: Type Test | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Run Type Tests | |
run: pnpm test:type | |
build-dryrun: | |
needs: install-deps | |
runs-on: ubuntu-latest | |
name: Build DryRun | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Build Project | |
run: pnpm build | |
pub-dryrun: | |
needs: install-deps | |
runs-on: ubuntu-latest | |
name: Publish Dry run | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Build Project | |
run: pnpm build | |
- name: Publish Dry Run | |
run: pnpm publish -r --dry-run --access=public --no-git-checks |