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
14 changes: 0 additions & 14 deletions .github/actions/install/action.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/conventional-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Conventional Commit

on:
pull_request:
types:
- edited
- opened

jobs:
conventional-commit:
name: Conventional Commit
runs-on: ubuntu-latest
steps:
- name: Check PR Conventional Commit title
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: | # mirrors changelog-sections in the /release-please-config.json
feat
fix
infra
ci
docs
deps
perf
refactor
test
chore
15 changes: 10 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,23 @@ on:
tags:
- '*'

permissions:
id-token: write
contents: read

jobs:
package:
runs-on: ubuntu-latest
name: Publish NPM Package

steps:
- name: Check out repository
- name: Cloning repo
uses: actions/checkout@v4

- name: Clone and Install
uses: ./.github/actions/install
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
registry-url: 'https://registry.npmjs.org' # required for trusted publishing

- run: npm i
- run: npm run deploy
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 9 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,15 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Clone and Install
uses: ./.github/actions/install
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install
shell: bash

- name: Build
run: npm run build
18 changes: 18 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Update release PR

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"0.2.1"}
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<a id="0.2.1"></a>
# [0.2.1 - Update Flagsmith sdk](https://github.com/Flagsmith/flagsmith-cli/releases/tag/0.2.1) - 2025-03-20

Merges [#25](https://github.com/Flagsmith/flagsmith-cli/pull/25)

[Changes][0.2.1]


<a id="0.1.3"></a>
# [0.1.3 - Adds prettify flag -p](https://github.com/Flagsmith/flagsmith-cli/releases/tag/0.1.3) - 2023-05-29

[#12](https://github.com/Flagsmith/flagsmith-cli/pull/12)

[Changes][0.1.3]


<a id="0.1.2"></a>
# [0.1.2 - Add Identity flag -i](https://github.com/Flagsmith/flagsmith-cli/releases/tag/0.1.2) - 2023-05-29

[#11](https://github.com/Flagsmith/flagsmith-cli/pull/11)

[Changes][0.1.2]


<a id="0.1.1"></a>
# [0.1.1 - Fix api-input in a wrong const](https://github.com/Flagsmith/flagsmith-cli/releases/tag/0.1.1) - 2023-01-20

Merges [#10](https://github.com/Flagsmith/flagsmith-cli/pull/10), thank you very much [@vladaCizek](https://github.com/vladaCizek)! 🚀

[Changes][0.1.1]


[0.2.1]: https://github.com/Flagsmith/flagsmith-cli/compare/0.1.3...0.2.1
[0.1.3]: https://github.com/Flagsmith/flagsmith-cli/compare/0.1.2...0.1.3
[0.1.2]: https://github.com/Flagsmith/flagsmith-cli/compare/0.1.1...0.1.2
[0.1.1]: https://github.com/Flagsmith/flagsmith-cli/tree/0.1.1

<!-- Generated by https://github.com/rhysd/changelog-from-release v3.9.0 -->
62 changes: 62 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"bootstrap-sha": "1893840aa3f6510d62820fcd291956117fa268d4",
"packages": {
".": {
"release-type": "node",
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false,
"include-component-in-tag": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"changelog-sections": [
{
"type": "feat",
"hidden": false,
"section": "Features"
},
{
"type": "fix",
"hidden": false,
"section": "Bug Fixes"
},
{
"type": "ci",
"hidden": false,
"section": "CI"
},
{
"type": "docs",
"hidden": false,
"section": "Docs"
},
{
"type": "deps",
"hidden": false,
"section": "Dependency Updates"
},
{
"type": "perf",
"hidden": false,
"section": "Performance Improvements"
},
{
"type": "refactor",
"hidden": false,
"section": "Refactoring"
},
{
"type": "test",
"hidden": false,
"section": "Tests"
},
{
"type": "chore",
"hidden": false,
"section": "Other"
}
]
}
Loading