chore: actions

This commit is contained in:
bekacru
2024-05-21 03:26:07 +03:00
parent f48a42edb6
commit 30f5f2dc28
3 changed files with 5 additions and 6 deletions

View File

@@ -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

View File

@@ -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}}

View File

@@ -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"
},