docs: Improvement on examples #1412
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: test-kaplay | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
run_install: false | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run Checker | |
run: pnpm run check | |
- name: Run tests | |
run: pnpm run test -c | |
- name: Run vitests | |
run: pnpm run test:vite | |
- name: Upload Package | |
run: pnpx pkg-pr-new publish |