chore(deps): Update module github.com/libtnb/sqlite to v1 (#1407) #270
Workflow file for this run
This file contains hidden or 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-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| cache: true | |
| go-version: 'stable' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: true | |
| package_json_file: web/package.json | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| cache-dependency-path: web/pnpm-lock.yaml | |
| - name: Build frontend | |
| working-directory: web | |
| run: | | |
| cp .env.production .env | |
| cp settings/proxy-config.example.ts settings/proxy-config.ts | |
| pnpm run gettext:compile | |
| 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 }} |