-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(projects): set up docs, CI/CD, logo
Added documentation and set up the entire pipeline
- Loading branch information
Brecht Billiet
authored and
Brecht Billiet
committed
Oct 26, 2023
1 parent
84f42aa
commit 71bd6ad
Showing
17 changed files
with
43,402 additions
and
14,592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
extends: [ | ||
'@commitlint/config-conventional' | ||
], | ||
rules: { | ||
'body-max-line-length': [0, 'always'], | ||
'footer-max-line-length': [0, 'always'] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: CD | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
cd: | ||
concurrency: ci-${{ github.ref }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout ✅ | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
- name: Setup 🏗 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: lts/* | ||
cache: 'npm' | ||
- name: Install ⚙️ | ||
run: npm ci | ||
- name: Build 🛠 | ||
run: npm run build:ci | ||
- name: Test 📋 | ||
run: npm run test:ci | ||
- name: Publish 📢 | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: npx semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout ✅ | ||
uses: actions/checkout@v2 | ||
- name: Setup 🏗 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: lts/* | ||
cache: 'npm' | ||
- name: Install ⚙️ | ||
run: npm ci | ||
- name: Build 🛠 | ||
run: npm run build:ci | ||
- name: Test 📋 | ||
run: npm run test:ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no-install commitlint --edit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"branches": [ | ||
"master" | ||
], | ||
"plugins": [ | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/changelog", | ||
[ | ||
"@semantic-release/npm", | ||
{ | ||
"pkgRoot": "dist/ngx-signal-state" | ||
} | ||
], | ||
"@semantic-release/git", | ||
"@semantic-release/github" | ||
] | ||
} |
Oops, something went wrong.