This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
01ed4f0
commit 09aa15b
Showing
3 changed files
with
146 additions
and
0 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,55 @@ | ||
name: Main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: read | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-test: | ||
name: 📚 Main | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: corepack enable | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
cache: pnpm | ||
|
||
- name: 📦 Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: 👀 Lint | ||
run: pnpm lint | ||
|
||
- name: 🚀 Build | ||
run: pnpm build | ||
|
||
# - name: 🧪 Test | ||
# run: pnpm test | ||
|
||
# - name: 🧪 Test with coverage | ||
# run: pnpm coverage | ||
|
||
# - name: 📝 Upload coverage | ||
# if: always() | ||
# uses: davelosert/vitest-coverage-report-action@v2 |
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,26 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.x | ||
|
||
- run: npx changelogithub | ||
env: | ||
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,65 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base" | ||
], | ||
"rebaseWhen": "conflicted", | ||
"schedule": [ | ||
"every 8 months on the first day of the month" | ||
], | ||
"baseBranches": [ | ||
"main" | ||
], | ||
"rangeStrategy": "bump", | ||
"ignoreDeps": [ | ||
"node", | ||
"pnpm" | ||
], | ||
"packageRules": [ | ||
{ | ||
"enabled": false, | ||
"matchDepTypes": [ | ||
"peerDependencies" | ||
] | ||
}, | ||
{ | ||
"groupName": "playground", | ||
"commitMessageTopic": "playground", | ||
"matchPaths": [ | ||
"playground/**" | ||
], | ||
"matchUpdateTypes": [ | ||
"major", | ||
"minor", | ||
"patch" | ||
], | ||
"matchDatasources": [ | ||
"npm" | ||
] | ||
}, | ||
{ | ||
"groupName": "root", | ||
"matchUpdateTypes": [ | ||
"patch", | ||
"minor", | ||
"major" | ||
], | ||
"ignorePaths": [ | ||
"**/playground/**" | ||
], | ||
"matchDatasources": [ | ||
"npm", | ||
"github-actions" | ||
], | ||
"labels": [ | ||
"dependencies" | ||
], | ||
"addLabels": [ | ||
"dependencies" | ||
], | ||
"matchFiles": [ | ||
"package.json" | ||
] | ||
} | ||
] | ||
} |