Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 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: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["bloq"]
}
27 changes: 0 additions & 27 deletions .github/actions/setup-env/action.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: NPM Publish

on:
release:
types:
- published

jobs:
npm-publish:
permissions:
contents: read
id-token: write
secrets: inherit
uses: hemilabs/actions/.github/workflows/npm-publish.yml@main
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lint-staged
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run deps:check && npm test
8 changes: 8 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"!(*.{js,md,ts,tsx}|package.json)": ["prettier --ignore-unknown --write"],
"*.{js,md,ts,tsx}": [
"eslint --cache --fix --max-warnings 0",
"prettier --write"
],
"package.json": ["better-sort-package-json", "prettier --write"]
}
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"arrowParens": "avoid",
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
Loading