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
1 change: 1 addition & 0 deletions .cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "cli",
"org": "nanoforge-dev",
"packagePath": ".",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
6 changes: 1 addition & 5 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@ runs:
package-manager-cache: false
registry-url: https://registry.npmjs.org

- if: inputs.pnpm-install == 'true' && inputs.sub-dir == 'false'
- if: inputs.pnpm-install == 'true'
name: Install dependencies
uses: ./.github/actions/pnpm-install

- if: inputs.pnpm-install == 'true' && inputs.sub-dir == 'true'
name: Install dependencies in src sub directory
uses: ./src/.github/actions/pnpm-install

- if: inputs.build == 'true'
name: Build packages
shell: bash
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,28 +59,25 @@ jobs:
if: github.repository_owner == 'NanoForge-dev'
needs: [release]
steps:
- name: Checkout src repository
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
path: src

- name: Checkout docs repository
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
path: docs
path: docs-dist
repository: nanoforge-dev/docs
token: ${{ secrets.ACTIONS_KEY }}

- name: Prepare
uses: ./src/.github/actions/prepare
with:
sub-dir: true
uses: ./.github/actions/prepare

- name: Publish docs
uses: ./src/node_modules/@nanoforge-dev/actions/actions/synchronize-docs
uses: ./node_modules/@nanoforge-dev/actions/actions/synchronize-docs
with:
category: cli
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/cli@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ catalogs:
'@commitlint/cli': ^21.0.2
'@commitlint/config-conventional': ^21.0.2
'@favware/cliff-jumper': ^6.1.0
'@nanoforge-dev/actions': ^2.1.0
'@nanoforge-dev/actions': ^2.1.1
husky: ^9.1.7
lint-staged: ^17.0.7
cli:
Expand Down Expand Up @@ -48,4 +48,4 @@ catalogs:
vitest: ^4.1.8

minimumReleaseAgeExclude:
- '@nanoforge-dev/actions@2.1.0'
- '@nanoforge-dev/actions@2.1.1'
Loading