Skip to content

Commit

Permalink
chore: minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Sep 25, 2024
1 parent 66032d7 commit c797584
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: CI

on:
push:
Expand All @@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: 0

- name: Set Node.js
- name: Setup Node.js
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install Dependencies
run: bun install

- name: Build Release
- name: Build the release
run: bun run build

- name: Publish to npm
Expand All @@ -43,6 +43,6 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Create GitHub release
run: npx changelogithub
run: bunx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3 changes: 1 addition & 2 deletions commitlint.config.cjs → commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
const scopes = ['', 'ci', 'deps', 'dx', 'example', 'release', 'readme', 'build']

/** @type {import('cz-git').UserConfig} */
module.exports = {
export default {
rules: {
// @see: https://commitlint.js.org/#/reference-rules
'scope-enum': [2, 'always', scopes],
},
prompt: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"prepublishOnly": "bun run build",
"release": "bun run changelog && bunx bumpp package.json",
"test": "bun test",
"typecheck": "tsc --noEmit"
"typecheck": "bun tsc --noEmit"
},
"devDependencies": {
"@biomejs/biome": "^1.9.2",
Expand All @@ -66,7 +66,7 @@
"commit-msg": "bunx --no -- commitlint --edit $1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,vue}": "bunx biome --fix"
"*.{js,jsx,ts,tsx,vue}": "biome check --fix ."
},
"config": {
"commitizen": {
Expand Down

0 comments on commit c797584

Please sign in to comment.