Skip to content
Closed
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
48 changes: 0 additions & 48 deletions .github/workflows/npm-publish.yml

This file was deleted.

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 npm 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
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release

on:
push:
branches:
- 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:
release:
runs-on: ubuntu-latest
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 # NPM Trusted Publishing requires npm 11.5.1 or later
- name: Install dependencies
run: npm ci
env:
HUSKY: 0
- name: Configure git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "github-actions-bot@users.noreply.github.com"
- uses: googleapis/release-please-action@v4
with:
release-type: node
- name: Build project
if: ${{ steps.release.outputs.release_created }}
run: npm run build
- 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/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22
v24
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.5 (2025-11-05)

Expand Down
Loading