-
Notifications
You must be signed in to change notification settings - Fork 2.2k
43 lines (35 loc) · 990 Bytes
/
bridge-ui.yml
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
41
42
43
name: Bridge UI
on:
push:
branches: [main]
paths:
- "packages/bridge-ui/**"
pull_request:
paths:
- "packages/bridge-ui/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout repository
uses: actions/checkout@v3
- name: Install pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies
- name: Svelte check
working-directory: ./packages/bridge-ui
run: pnpm svelte:check
- name: Linting
working-directory: ./packages/bridge-ui
run: pnpm lint
- name: Unit tests
working-directory: ./packages/bridge-ui
run: pnpm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
directory: ./packages/bridge-ui/coverage
flags: bridge-ui