This commit is contained in:
wsl-d4
2025-08-26 16:44:41 +08:00
parent 4c586c6cfc
commit 722e15b458
30 changed files with 3900 additions and 3889 deletions

View File

@@ -1,26 +1,26 @@
name: bbs-go-server
on: [ push ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Install dependencies
working-directory: ./server
run: |
go mod download
- name: Build
working-directory: ./server
run: |
make build
name: bbs-go-server
on: [ push ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Install dependencies
working-directory: ./server
run: |
go mod download
- name: Build
working-directory: ./server
run: |
make build

View File

@@ -1,32 +1,32 @@
name: bbs-go-site
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: site/pnpm-lock.yaml
- name: Install dependencies
working-directory: ./site
run: |
pnpm install
- name: Build
working-directory: ./site
run: |
name: bbs-go-site
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: site/pnpm-lock.yaml
- name: Install dependencies
working-directory: ./site
run: |
pnpm install
- name: Build
working-directory: ./site
run: |
pnpm build