mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-03 04:46:19 -05:00
chore: actions
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -22,7 +22,6 @@ jobs:
|
||||
node-version: 20.x
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
cache: pnpm
|
||||
|
||||
|
||||
- name: Install
|
||||
run: pnpm install
|
||||
@@ -33,8 +32,8 @@ jobs:
|
||||
- name: lint
|
||||
run: pnpm lint
|
||||
|
||||
- name: typecheck
|
||||
run: pnpm typecheck
|
||||
|
||||
- name: test
|
||||
run: pnpm test
|
||||
|
||||
- name: typecheck
|
||||
run: pnpm typecheck
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -43,6 +43,6 @@ jobs:
|
||||
else
|
||||
|
||||
- name: Publish to npm
|
||||
run: pnpm publish --access public --tag ${{steps.check_version.outputs.tag}}
|
||||
run: npm publish --access public --tag ${{steps.check_version.outputs.tag}}
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
@@ -12,7 +12,7 @@
|
||||
"format": "biome format . --write",
|
||||
"lint": "biome check .",
|
||||
"lint:fix": "biome check . --apply",
|
||||
"release": "bumpp -r",
|
||||
"release": "pnpm typecheck && pnpm test && pnpm build && bumpp -r",
|
||||
"test": "turbo --filter \"./packages/*\" test",
|
||||
"typecheck": "turbo --filter \"./packages/*\" typecheck"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user