Skip to content

Update .gitignore. Add test.yml workflow and publish-clawhub-plugin.yaml #1

Update .gitignore. Add test.yml workflow and publish-clawhub-plugin.yaml

Update .gitignore. Add test.yml workflow and publish-clawhub-plugin.yaml #1

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Typecheck
run: node node_modules/typescript/bin/tsc --noEmit
- name: Run tests
run: bun run test