fix(ci): fix release action #138
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: Tests & Build | |
on: [push, pull_request] | |
jobs: | |
check: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install dependencies | |
run: pnpm install && pnpm build | |
- name: Check type | |
run: pnpm checktype | |
- name: Run tests | |
run: pnpm test | |
- name: Run vitest mock tests | |
run: pnpm --filter=vitest-mock-example test | |
- name: Run vite example build | |
run: pnpm --filter=vite-example build | |
- name: Run next example build | |
run: pnpm --filter=next-example build | |
- uses: oven-sh/setup-bun@v1 | |
- name: Run bun example | |
run: cd bun-example && bun install && bun index.ts && bun build index.ts > /tmp/tmp.js |