chore: initialize standalone business plugin repository
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
name: Business Plugins CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
plugin:
|
||||
- plugin-admin
|
||||
- subscription-admin
|
||||
defaults:
|
||||
run:
|
||||
working-directory: plugins/${{ matrix.plugin }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.23'
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
- run: go test -race ./... -count=1
|
||||
- run: go vet ./...
|
||||
- run: node --check ui/app.js
|
||||
- run: sh -n build.sh
|
||||
- if: matrix.plugin == 'subscription-admin'
|
||||
run: |
|
||||
sh -n package.sh
|
||||
go run ./tools/manifestcheck
|
||||
Reference in New Issue
Block a user