Skip to content

ci: add missing tsc and knip steps to CI workflow #4

ci: add missing tsc and knip steps to CI workflow

ci: add missing tsc and knip steps to CI workflow #4

Workflow file for this run

name: Release 🏗️
on:
push:
branches: [master]
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release:
name: Handle release 🦋
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Update npm
run: npm install -g npm@latest
- name: Install dependencies
run: bun i
- name: Create release PR or publish package
id: changesets
uses: changesets/action@v1
with:
publish: bun release
title: "feature(release): version packages"
commit: "ci(changesets): version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
- name: Type check
run: bunx tsc --noEmit
- name: Knip
run: bun knip