Skip to content

Sync beta with main #253

Sync beta with main

Sync beta with main #253

Workflow file for this run

name: Release
on:
push:
branches: [main, beta]
permissions:
contents: write # to be able to publish a GitHub release
id-token: write # to enable use of OIDC for npm provenance
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
concurrency:
group: release-${{ github.workflow }}-${{ github.ref }}
jobs:
check:
name: Check
uses: ./.github/workflows/ci.yml
publish:
name: PR or Publish
runs-on: ubuntu-latest
needs: [check]
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Verify Integrity of Dependencies
run: npm audit signatures
- name: Build Package
run: pnpm tsup
- name: Create Pull Request or Publish Packages
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
with:
version: 'pnpm ci:version'
publish: 'pnpm ci:publish'
commit: '[ci] release'
title: '[ci] release'