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
70 changes: 70 additions & 0 deletions .github/workflows/cd_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: "🚀 CD — Publish"

on:
push:
branches:
- main
workflow_dispatch:
inputs:
tag:
description: "Existing release tag to publish or retry"
required: false
type: string

permissions:
contents: write
pull-requests: write
id-token: write
issues: write

jobs:
release-please:
if: github.event.repository.fork == false && !inputs.tag
runs-on: ubuntu-latest
timeout-minutes: 15
outputs:
created: ${{ steps.release.outputs.release_created }}
tag: ${{ steps.release.outputs.tag_name }}
steps:
- name: 🤝 Release Please
uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}

publish:
needs: release-please
if: always() && github.event.repository.fork == false && (inputs.tag || needs.release-please.outputs.created == 'true')
runs-on: ubuntu-latest
timeout-minutes: 15
env:
RELEASE_TAG: ${{ inputs.tag || needs.release-please.outputs.tag }}
steps:
- name: ➕ Actions - Checkout release
uses: actions/checkout@v4
with:
ref: ${{ env.RELEASE_TAG }}

- name: ➕ Actions - Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"
cache: npm

- name: ✅ Verify release version
run: node -e 'const { version } = require("./package.json"); if (process.env.RELEASE_TAG !== `angular-v${version}`) throw new Error("Release tag must match the package version.");'

- name: 📦 Installing Dependencies
run: npm ci

- name: ✅ Validate
run: npm run check

- name: 📦 Validate package
run: npm run test:pack

- name: 📥 Publishing Package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --provenance --access public
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.0.0"
}
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [1.0.0] - 2026-04-05
## [1.0.0] - 2026-10-22

### Added

Expand All @@ -14,3 +14,5 @@ All notable changes to this project will be documented in this file.
- Async `fireEvent` wrapper with automatic Angular change detection
- `angularTestingPlugin` Poku plugin with `happy-dom` and `jsdom` DOM adapters
- Signal input support via internal `applyValueToInputSignal` mechanism
- Angular 18–21 compatibility, isolated application runtimes, and scoped cleanup
- Fragment snapshots, debug helpers, live hook results, and error propagation
6 changes: 6 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"release-type": "node",
"packages": {
".": {}
}
}
Loading