Skip to content

Commit

Permalink
Merge pull request #67 from kuzzleio/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
rolljee authored Aug 30, 2023
2 parents 85d5248 + f1a323d commit 975c75a
Show file tree
Hide file tree
Showing 12 changed files with 13,482 additions and 3,027 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
3 changes: 3 additions & 0 deletions .cz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "./node_modules/cz-conventional-changelog"
}
17 changes: 10 additions & 7 deletions .github/workflows/pull_request.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,26 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: ["16", "18"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: ${{ matrix.node-version }}
- uses: ./.github/actions/eslint

unit-tests:
name: Unit Tests - Node.js v${{ matrix.node-version }}
needs: [lint]
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: ["14", "16"]
runs-on: ubuntu-20.04
node-version: ["16", "18"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: ./.github/actions/unit-tests
38 changes: 38 additions & 0 deletions .github/workflows/push_branches.workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Push checks

on:
push:
branches:
- master
- beta

jobs:
release:
name: Release process
runs-on: ubuntu-20.04
permissions:
contents: write
issues: write
pull-requests: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
scope: '@kuzzleio'

- name: Install dependencies
run: npm ci

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GHP }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
SEMANTIC_RELEASE_NPM_PUBLISH: "true"
SEMANTIC_RELEASE_SLACK_WEBHOOK: ${{ secrets.SEMANTIC_RELEASE_SLACK_WEBHOOK }}
run: npx semantic-release
31 changes: 0 additions & 31 deletions .github/workflows/push_dev.workflow.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/push_master.workflow.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env sh
[ -n "$CI" ] && exit 0

. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
6 changes: 6 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env sh
[ -n "$CI" ] && exit 0

. "$(dirname -- "$0")/_/husky.sh"

npm run lint
7 changes: 7 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": ["semantic-release-config-kuzzle"],
"branches": [
"master",
{ "name": "beta", "prerelease": true }
]
}
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# [4.2.0-beta.2](https://github.com/kuzzleio/koncorde/compare/v4.2.0-beta.1...v4.2.0-beta.2) (2023-08-30)


### Bug Fixes

* **actions:** remove workflow doc deploy for koncorde as there is no deployed version ([d5451f9](https://github.com/kuzzleio/koncorde/commit/d5451f9947654b1c8d4e80bde46c8898792c8976))

# [4.2.0-beta.1](https://github.com/kuzzleio/koncorde/compare/v4.1.0...v4.2.0-beta.1) (2023-08-30)


### Bug Fixes

* **ci:** should fix ci and cd ([d41e9c1](https://github.com/kuzzleio/koncorde/commit/d41e9c14bdfaec883d362f6efd3a3c010e03266d))


### Features

* **semantic-release:** add semantic release support ([f065013](https://github.com/kuzzleio/koncorde/commit/f0650130643b262b64049f13b2a20310538eadb5))
Loading

0 comments on commit 975c75a

Please sign in to comment.