Skip to content

feat: improved bundling and security #20

feat: improved bundling and security

feat: improved bundling and security #20

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
release:
name: Release
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Release
env:
# I have to use a custom token because the default one (secrets.GITHUB_TOKEN) won't
# trigger the Docker Publish workflow (https://github.com/orgs/community/discussions/25281#discussioncomment-3247262).
GITHUB_TOKEN: ${{ secrets.GPA_TOKEN }}
run: npx semantic-release -b main