Skip to content

feat(backend): fiber go-json encoder&decoder #43

feat(backend): fiber go-json encoder&decoder

feat(backend): fiber go-json encoder&decoder #43

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
- 'v*.*.*-*'
workflow_dispatch:
jobs:
release:
name: Build and Release
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install frontend dependencies
working-directory: Frontend
run: pnpm install --frozen-lockfile
- name: Build Frontend
working-directory: Frontend
run: pnpm run build
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}