File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous Integration
2
+
3
+ on :
4
+ # Trigger the ci pipeline for every comment on the default branch or a pull request.
5
+ # The default branch for the sample repo is `master`.
6
+ push :
7
+ branches :
8
+ - master
9
+ pull_request :
10
+ branches :
11
+ - master
12
+
13
+ jobs :
14
+ ci :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout code
18
+ uses : actions/checkout@v2
19
+
20
+ - name : Set up node and cache
21
+ uses : actions/setup-node@v3
22
+ with :
23
+ node-version : ' 16.8.0'
24
+ cache : ' yarn'
25
+
26
+ - name : Install dependencies
27
+ run : yarn install --frozen-lockfile --prefer-offline
28
+
29
+ # This project has a `coverage` script that runs all the
30
+ # tests and merge all their coverage reports.
31
+ - name : Run tests and generate report
32
+ run : yarn coverage
33
+
34
+ - name : Generate storybook
35
+ run : yarn build-storybook
36
+
37
+ # Run the Stoat action to upload and host all the build outputs.
38
+ - name : Run stoat action
39
+ uses : stoat-dev/stoat-action@v0
40
+ if : always()
Original file line number Diff line number Diff line change
1
+ version : 1
2
+ enabled : true
3
+ tasks :
4
+ merged-test-coverage :
5
+ static_hosting :
6
+ path : coverage/merged/lcov-report
7
+ storybook :
8
+ static_hosting :
9
+ path : storybook-static
10
+ cypress-video :
11
+ static_hosting :
12
+ path : cypress/videos/spec.js.mp4
13
+ build-time :
14
+ job_runtime :
You can’t perform that action at this time.
0 commit comments