Skip to content
Open
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
15 changes: 13 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
name: Publish

# Triggered when a version tag (`v*`) is pushed — typically by `pnpm run release`,
# which uses release-it to bump the version, commit, tag, push, and create a
# GitHub Release with auto-generated notes. The npm publish itself happens here
# so a) the publish artifact is built in a clean CI environment, and b) the git
# tag and the npm version are guaranteed to match.

on:
push:
branches: [main]
tags:
- 'v*'
workflow_dispatch:

jobs:
Expand All @@ -23,7 +30,11 @@ jobs:
with:
version: 10.12.4

- run: pnpm install
- run: pnpm install --frozen-lockfile

- run: pnpm lint

- run: pnpm test --run

- run: pnpm run build

Expand Down
23 changes: 23 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://unpkg.com/release-it/schema/release-it.json",
"git": {
"tagName": "v${version}",
"tagAnnotation": "v${version}",
"commitMessage": "v${version}",
"requireBranch": "main",
"requireCleanWorkingDir": true,
"push": true
},
"github": {
"release": true,
"releaseName": "v${version}",
"autoGenerate": true
},
"npm": {
"publish": false
},
"hooks": {
"before:init": ["pnpm lint", "pnpm test --run"],
"after:bump": "pnpm run build"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ For permanent deployments and full control over your sites and domains, add a fr
| Operation | Description |
| ------------ | ------------------------------------------------------------------------------- |
| **Get** | Get domain details including linked deployment, verification status, and labels |
| **List** | List all domains with their linked deployments and verification status |
| **List** | List all domains with their linked deployment and verification status |
| **Records** | Get the DNS records you need to configure at your DNS provider |
| **Remove** | Permanently disconnect and remove a custom domain |
| **Set** | Connect a custom domain to your site, switch deployments, or update labels |
Expand Down
2 changes: 1 addition & 1 deletion nodes/Shipstatic/Shipstatic.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class Shipstatic implements INodeType {
{
name: 'List',
value: 'list',
description: 'List all domains with their linked deployments and verification status',
description: 'List all domains with their linked deployment and verification status',
action: 'List all domains',
},
{
Expand Down