Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: small changes #177

Merged
merged 21 commits into from
Aug 1, 2024
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
3 changes: 1 addition & 2 deletions .ecrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"exclude": [
"CHANGELOG.md",
"pnpm-lock.yaml",
"README.md",
"regexps.ts"
"README.md"
]
}
1 change: 1 addition & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ updates:
schedule:
interval: weekly
day: sunday
versioning-strategy: increase
18 changes: 13 additions & 5 deletions .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:

- name: Set Up PNPM
uses: pnpm/action-setup@v4
with:
version: 8

- name: Set Up NodeJS
uses: actions/setup-node@v4
Expand All @@ -31,7 +29,17 @@ jobs:
- name: Install Dependencies
run: pnpm i

- name: Extract Commit Message (Push)
if: ${{ github.event_name }} == 'push'
run: |
git log -1 --pretty=%B > commit_message.txt

- name: Extract Commit Message (Pull Request)
if: ${{ github.event_name }} == 'pull_request'
run: |
git show -s --format=%B > commit_message.txt

- name: Lint
env:
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
run: echo $COMMIT_MESSAGE | pnpm commitlint
run: |
COMMIT_MESSAGE=$(cat commit_message.txt)
echo "$COMMIT_MESSAGE" | pnpm commitlint
2 changes: 0 additions & 2 deletions .github/workflows/editorconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:

- name: Set Up PNPM
uses: pnpm/action-setup@v4
with:
version: 8

- name: Set Up NodeJS
uses: actions/setup-node@v4
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/eslint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:

- name: Set Up PNPM
uses: pnpm/action-setup@v4
with:
version: 8

- name: Set Up NodeJS
uses: actions/setup-node@v4
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:

- name: Set Up PNPM
uses: pnpm/action-setup@v4
with:
version: 8

- name: Set Up NodeJS
uses: actions/setup-node@v4
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:

- name: Set Up PNPM
uses: pnpm/action-setup@v4
with:
version: 8

- name: Set Up NodeJS
uses: actions/setup-node@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
branches:
- main

permissions:
id-token: write

jobs:
release:
name: Release
Expand All @@ -35,8 +38,6 @@ jobs:

- name: Set Up PNPM
uses: pnpm/action-setup@v4
with:
version: 8

- name: Set Up NodeJS
uses: actions/setup-node@v4
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:

- name: Set Up PNPM
uses: pnpm/action-setup@v4
with:
version: 8

- name: Set Up NodeJS
uses: actions/setup-node@v4
Expand Down
1 change: 1 addition & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm git-pull-run --pattern 'pnpm-lock.yaml' --command 'pnpm i'
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
provenance=true
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pnpm-lock.yaml
# *rc
.czrc
.ecrc
.npmrc

# configs
.editorconfig
Expand All @@ -16,3 +17,4 @@ pnpm-lock.yaml
# ignores
.gitignore
.prettierignore
.remarkignore
1 change: 1 addition & 0 deletions .remarkignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CHANGELOG.md
Loading