forked from marimo-team/marimo
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 974 Bytes
/
test_fe_dagger.yaml
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
44
45
name: Test FE Dagger
on:
push:
branches: [main]
pull_request:
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
jobs:
changes:
runs-on: ubuntu-latest
outputs:
frontend: ${{ steps.filter.outputs.frontend }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
frontend:
- 'frontend/**'
- 'lsp/**'
- 'openapi/**'
- 'dagger/**'
test_frontend:
needs: changes
if: ${{ needs.changes.outputs.frontend == 'true' }}
name: 🖥️ Lint, test, build frontend
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- uses: dagger/dagger-for-github@v6
name: 🚀 Dagger
with:
args: frontend test