-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fad0732
commit dec7465
Showing
14 changed files
with
3,695 additions
and
299 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,31 @@ | ||
name-template: v$RESOLVED_VERSION 🌈 | ||
tag-template: v$RESOLVED_VERSION | ||
categories: | ||
- title: 🚀 Features | ||
labels: | ||
- feature | ||
- enhancement | ||
- title: 🐛 Bug Fixes | ||
labels: | ||
- fix | ||
- bugfix | ||
- bug | ||
- title: 🧰 Maintenance | ||
label: chore | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
change-title-escapes: '\<*_&' | ||
version-resolver: | ||
major: | ||
labels: | ||
- major | ||
minor: | ||
labels: | ||
- minor | ||
patch: | ||
labels: | ||
- patch | ||
default: patch | ||
template: | | ||
## Changes | ||
$CHANGES |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
name: The CI workflow on push | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!master' | ||
permissions: | ||
contents: read | ||
jobs: | ||
|
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 |
---|---|---|
@@ -1,49 +1,25 @@ | ||
name: CI/CD on master branch | ||
name: The CI workflow on merge as a main branch | ||
run-name: Merged the main branch by @${{ github.actor }} | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- main | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
branches: | ||
- main | ||
permissions: | ||
contents: write | ||
jobs: | ||
deploy: | ||
name: Build and deploy | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
node-version: | ||
- '16.x' | ||
cache-key: | ||
- '19a27acd-b393-4a8a-a09f-276a4663454d' | ||
update_release_draft: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: set npm config | ||
run: npm config set unsafe-perm true | ||
- name: Determine npm cache directory | ||
id: npm-cache | ||
run: echo "::set-output name=dir::$(npm config get cache)" | ||
- name: Persist the cache of dependent packages. | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.npm-cache.outputs.dir }} | ||
key: ${{ matrix.cache-key }}_${{ runner.os }}-node_v${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ matrix.cache-key }}_${{ runner.os }}-node_v${{ matrix.node-version }}- | ||
${{ matrix.cache-key }}_${{ runner.os }}-node_v | ||
${{ matrix.cache-key }}_${{ runner.os }}-node- | ||
${{ matrix.cache-key }}_${{ runner.os }}- | ||
- run: npm ci --legacy-peer-deps | ||
- run: npm run prepack | ||
- uses: release-drafter/release-drafter@v6 | ||
env: | ||
CI: true | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | ||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | ||
SENTRY_URL: ${{ secrets.SENTRY_URL }} | ||
- name: Deploy the build result. | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./packages/dantalion-web-playground/dist | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,38 @@ | ||
name: Publish the packages | ||
run-name: Publish by @${{ github.actor }} | ||
on: | ||
release: | ||
types: | ||
- published | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: The build process | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Stages the pushed branch | ||
uses: actions/checkout@v4 | ||
- name: Pre-prepare the Node.js environment | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .node-version | ||
- name: Enable the corepack | ||
run: corepack enable | ||
- name: Post-prepare the Node.js environment | ||
uses: actions/setup-node@v4 | ||
with: | ||
cache: ${{ !env.ACT && 'pnpm' || '' }} | ||
node-version-file: .node-version | ||
- env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
name: deploy the token | ||
run: | | ||
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc | ||
echo "@kurone-kito:registry=https://registry.npmjs.org/" >> ~/.npmrc | ||
- env: | ||
HUSKY: 0 | ||
name: Install the dependencies | ||
run: pnpm install --prefer-frozen-lockfile | ||
- name: Publish the packages | ||
run: pnpm run publish |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ignores: | ||
- '**/node_modules/**/*' | ||
- .github/CODE_OF_CONDUCT* | ||
- .yarn/**/* | ||
- node_modules/**/* | ||
- CHANGELOG.md |
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
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
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
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 |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
"bugs": { | ||
"url": "https://github.com/kurone-kito/dantalion/issues" | ||
}, | ||
"repository": "github:kurone-kito/dantalion", | ||
"license": "MIT", | ||
"author": "kurone-kito <[email protected]> (https://kit.black/)", | ||
"repository": "github:kurone-kito/dantalion", | ||
"type": "module", | ||
"files": [], | ||
"scripts": { | ||
|
@@ -55,7 +55,7 @@ | |
"@kurone-kito/typescript-config": "^0.17.1-alpha.1", | ||
"@typescript-eslint/parser": "^8.16.0", | ||
"cspell": "^8.16.1", | ||
"eslint": "^9.15.0", | ||
"eslint": "^9.16.0", | ||
"eslint-formatter-codeframe": "^7.32.1", | ||
"husky": "^9.1.7", | ||
"lint-staged": "^15.2.10", | ||
|
@@ -67,9 +67,10 @@ | |
"prettier-plugin-sort-json": "^4.0.0", | ||
"rimraf": "^5.0.10", | ||
"typescript": "~5.7.2", | ||
"typescript-eslint-language-service": "^5.0.5" | ||
"typescript-eslint-language-service": "^5.0.5", | ||
"vitest": "^2.1.6" | ||
}, | ||
"packageManager": "[email protected].3+sha512.c0f53ee99477ed969b82b289ad011a5d16bf1623c957e7f29eabe8d0c00b574c29b8c7f54f6c67ee710c73f285c8154d07ce44b46fe2c0eeb476a90441bac371", | ||
"packageManager": "[email protected].4+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab", | ||
"engines": { | ||
"node": "^18.20 || ^20.10 || >=22" | ||
}, | ||
|
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
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
Oops, something went wrong.