Skip to content

docs(api): add /api/get/size to openapi spec #53

docs(api): add /api/get/size to openapi spec

docs(api): add /api/get/size to openapi spec #53

Workflow file for this run

name: release
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
goreleaser:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.x
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ui/pnpm-lock.yaml
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ">=1.21.3"
- name: Build UI Dashboard
run: pnpm --dir=./ui install && pnpm --dir=./ui build
- name: Tidy modules
run: go mod tidy
- name: Run tests
run: go test ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}