ci: fix CI trigger - run on push too, remove duplicate
This commit is contained in:
1 parent
91357aca3b
commit
84f64b6615
2 files changed
+4
-14
No files matched your search
@@ -1,8 +1,12 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
name: CI
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
ci:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- run: corepack enable && corepack prepare [email protected] --activate
|
|
||||||
- run: pnpm install --frozen-lockfile
|
|
||||||
- run: pnpm biome:lint
|
|
||||||
- run: pnpm typecheck
|
|
||||||
- run: pnpm test
|
|
||||||
- run: pnpm build
|
|
||||||
Reference in new issue
Block a user