Use new template
This commit is contained in:
+36
-7
@@ -1,9 +1,6 @@
|
||||
when:
|
||||
- path:
|
||||
include: [
|
||||
'src/**/*.ts',
|
||||
'index.ts'
|
||||
]
|
||||
include: ['**/*.{js,jsx,ts,tsx}']
|
||||
|
||||
steps:
|
||||
install:
|
||||
@@ -13,10 +10,42 @@ steps:
|
||||
commands:
|
||||
- npm install
|
||||
|
||||
test:
|
||||
image: oven/bun:alpine
|
||||
typecheck:
|
||||
image: node
|
||||
when:
|
||||
- event: [pull_request, push, manual]
|
||||
depends_on: install
|
||||
commands:
|
||||
- bun test
|
||||
- npm run typecheck
|
||||
|
||||
lint:
|
||||
image: node
|
||||
when:
|
||||
- event: [pull_request, push, manual]
|
||||
depends_on: install
|
||||
commands:
|
||||
- npm run lint
|
||||
|
||||
fmt:
|
||||
image: node
|
||||
when:
|
||||
- event: [pull_request, push, manual]
|
||||
depends_on: install
|
||||
commands:
|
||||
- npm run check:fmt
|
||||
|
||||
test:
|
||||
image: node
|
||||
when:
|
||||
- event: [pull_request, push, manual]
|
||||
depends_on: install
|
||||
commands:
|
||||
- npm run test
|
||||
|
||||
check:
|
||||
image: node
|
||||
when:
|
||||
- event: [pull_request, push, manual]
|
||||
depends_on: install
|
||||
commands:
|
||||
- npm run check
|
||||
|
||||
Reference in New Issue
Block a user