827
This commit is contained in:
@@ -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
|
||||
|
||||
62
bbs-go-active/.github/workflows/bbs-go-site.yml
vendored
62
bbs-go-active/.github/workflows/bbs-go-site.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user