Skip to content

Commit 2566642

Browse files
committed
Add CI workflow using centralized socket-registry ci.yml
1 parent 8e70bc1 commit 2566642

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 🚀 CI Pipeline
2+
3+
# Dependencies:
4+
# - SocketDev/socket-registry/.github/workflows/ci.yml
5+
6+
on:
7+
push:
8+
branches: [main]
9+
tags: ['*']
10+
pull_request:
11+
branches: [main]
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: read
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
ci:
23+
name: Run CI Pipeline
24+
uses: SocketDev/socket-registry/.github/workflows/ci.yml@main
25+
with:
26+
coverage-script: 'pnpm run test:unit:coverage'
27+
coverage-report-script: 'pnpm run coverage:percent --json'
28+
test-setup-script: 'pnpm run build'
29+
type-check-setup-script: 'pnpm run build'

0 commit comments

Comments
 (0)