chore: add .eslintrc-auto-import.json to gitignore #175
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
cache: true | |
go-version: 'stable' | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
run_install: true | |
package_json_file: web/package.json | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
cache-dependency-path: web/pnpm-lock.yaml | |
- name: Build frontend | |
working-directory: web | |
# We need to run the dev server first to generate the auto-imports files | |
run: | | |
cp .env.production .env | |
cp settings/proxy-config.example.ts settings/proxy-config.ts | |
pnpm dev & | |
sleep 5 | |
kill %1 | |
pnpm build | |
- name: Set environment variables | |
run: | | |
echo "GOVERSION=$(go version | cut -d' ' -f3)" >> $GITHUB_ENV | |
echo "HOSTNAME=$(hostname)" >> $GITHUB_ENV | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
version: latest | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |