mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-08-13 14:27:27 +00:00
Add .github/workflows/ci.yml via sh1pt node-pnpm-ci@1.1.0
This commit is contained in:
parent
232b8151a2
commit
dc12b99179
1 changed files with 40 additions and 0 deletions
40
.github/workflows/ci.yml
vendored
Normal file
40
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Managed by sh1pt Actions Fleet
|
||||
# pack: node-pnpm-ci@1.1.0
|
||||
# install: sh1pt-actions-store
|
||||
# hash: sha256:8e71a56cc0f13b1fdeaf4efe58c3008efcbb8b52b4194cbe9dd5b52a4c023d50
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master]
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# pnpm version is read from the "packageManager" field in package.json.
|
||||
# Do not pin a version here — it conflicts with packageManager and fails
|
||||
# with ERR_PNPM_BAD_PM_VERSION.
|
||||
- uses: pnpm/action-setup@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
cache: pnpm
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- run: pnpm typecheck
|
||||
|
||||
- run: pnpm test
|
||||
Loading…
Add table
Add a link
Reference in a new issue