-
-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (37 loc) · 950 Bytes
/
main.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
name: Main Workflow
on:
push:
branches:
- main
pull_request:
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
static_tests:
name: Static Tests
uses: ./.github/workflows/.static-tests.yaml
build:
name: Build
uses: ./.github/workflows/.build.yaml
needs:
- static_tests
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
dynamic_tests:
name: Dynamic Tests
uses: ./.github/workflows/.dynamic-tests.yaml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODSPEED_TOKEN: ${{ secrets.CODSPEED_TOKEN }}
needs:
- build
- static_tests
release:
name: Release
uses: ./.github/workflows/.release.yaml
needs:
- static_tests
- build
- dynamic_tests
if: ${{ github.repository == 'kamiazya/web-csv-toolbox' && github.ref == 'refs/heads/main' && success() }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}