Skip to content

CI: remove release version input and fix trusted publish #27

CI: remove release version input and fix trusted publish

CI: remove release version input and fix trusted publish #27

Workflow file for this run

name: Pull request
on:
pull_request:
branches: ['main']
jobs:
# Build job
builddev:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- name: Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint
run: |
bun run lint
- name: Build
run: |
bun run build
- name: Test
run: |
set -euo pipefail
bunx tsc --noEmit
for f in $(find src -type f -name '*.test.ts' | sort); do
echo "Running $f"
bun test "$f"
done