Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Quality

on:
pull_request: # Run this workflow for all pull request changes
types:
- opened
- reopened
- synchronize
repository_dispatch: # Run this workflow when base branch updates
types: [base_branch_updated]

jobs:
quality:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[ci-skip]') }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
- name: Update npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci
env:
HUSKY: 0 # Disable husky within CI/CD
- name: Run quality checks
run: npm run quality
- name: Build project
run: npm run build
34 changes: 15 additions & 19 deletions .github/workflows/npm-publish.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: Publish to NPM
name: Release

on:
push:
branches:
- 'main'
- main

permissions:
id-token: write # Required for OIDC / NPM Trusted Publishing (https://repos.openssf.org/trusted-publishers-for-all-package-repositories)
issues: write
contents: write
pull-requests: write

jobs:
quality-bump-and-publish:
release:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[ci-skip]') }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
Expand All @@ -21,28 +22,23 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Update npm
run: npm install -g npm@latest # NPM Trusted Publishing requires npm 11.5.1 or later
- name: Install dependencies
run: npm ci
env:
HUSKY: 0 # Disable husky within CI/CD
- name: Configure git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "github-actions-bot@users.noreply.github.com"
- name: Install npm dependencies
run: npm ci
env:
HUSKY: 0
- name: Run quality checks
run: npm run quality
- uses: googleapis/release-please-action@v4
with:
release-type: node
- name: Build project
if: ${{ steps.release.outputs.release_created }}
run: npm run build
- name: Run standard-version to bump version
run: npm run release
- name: Push version bump to main
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
tags: true
force: true
- name: Bundle tarball
if: ${{ steps.release.outputs.release_created }}
run: npm run package
- name: Publish to npm
if: ${{ steps.release.outputs.release_created }}
run: npm publish
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
//registry.npmjs.org/
registry=https://registry.npmjs.org/
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog
# CHANGELOG

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
All notable changes to this project will be documented in this file.

### 1.1.6 (2026-02-15)

Expand Down