Skip to content

Harden graph algorithms and batch operations (#36) #81

Harden graph algorithms and batch operations (#36)

Harden graph algorithms and batch operations (#36) #81

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write # Required for npm Trusted Publishers (OIDC)
contents: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
# Pinned: Node 24.17.0 regressed node-fetch@2's gzip handling, making
# @changesets/changelog-github's GraphQL call fail with
# ERR_STREAM_PREMATURE_CLOSE. 24.16.0 is the last known-good 24.x.
# https://github.com/changesets/changesets/issues/2115
node-version: 24.16.0
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Verify
run: pnpm verify
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}