Skip to content

Remove stale HUSKY env from release workflow #14

Remove stale HUSKY env from release workflow

Remove stale HUSKY env from release workflow #14

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
cache: npm
- name: Upgrade npm for OIDC trusted publishing
run: npm install -g npm@11.5.1
- name: Install dependencies
run: npm ci
- name: Build package
run: npm run build
- name: Create release PR or publish
uses: changesets/action@v1
with:
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: "true"