-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 963 Bytes
/
ci.yml
File metadata and controls
40 lines (32 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: ⚡ CI
# Dependencies:
# - SocketDev/socket-registry/.github/workflows/ci.yml
on:
push:
branches: [main]
tags: ['*']
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Run CI Pipeline
uses: SocketDev/socket-registry/.github/workflows/ci.yml@1594d82bb7b61015b615aad588c4d4763cb64194 # main
with:
test-script: 'pnpm exec vitest --config .config/vitest.config.mts run'
test-isolated:
name: Test (Isolated)
needs: ci
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@1594d82bb7b61015b615aad588c4d4763cb64194 # main
- name: Build project
run: pnpm run build
- name: Run isolated tests
run: pnpm exec vitest --config .config/vitest.config.isolated.mts run