sh1pt: install Node pnpm Test (node-pnpm-test@1.1.0) (#5)

* Add .github/workflows/test.yml via sh1pt node-pnpm-test@1.1.0

* Convert test workflow to Go (go test ./...)

agentbbs is a Go project (go.mod, go 1.26); the Node/pnpm workflow could
never pass here — pnpm/action-setup found no packageManager. Replace with
go test ./... and trigger on main (was master-only). Build/vet live in ci.yml.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: sh1pt-actions-fleet[bot] <287014002+sh1pt-actions-fleet[bot]@users.noreply.github.com>
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
sh1pt-actions-fleet[bot] 2026-06-14 02:49:50 -07:00 committed by GitHub
parent e75f751252
commit 84e70668e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,25 @@
# Go tests for agentbbs. agentbbs is a Go project (see go.mod); this runs the
# package tests on pull requests and pushes to main. Build/vet live in ci.yml.
name: test
on:
pull_request:
push:
branches: [main, master]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26'
cache: true
- run: go test ./...