-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (51 loc) · 1.45 KB
/
ci.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
44
45
46
47
48
49
50
51
name: continuous integration
on:
push:
branches:
- develop
jobs:
test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: set up node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: check out code
uses: actions/checkout@v4
- name: install
run: yarn install --ignore-engines
- name: unit tests
run: yarn coverage
- name: upload test coverage to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV }}
call-frontpage-docker-build:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-publish.yaml@main
secrets: inherit
with:
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
image: dicty-frontpage
dockerfile: "docker/Dockerfile.frontpage"
call-dsc-docker-build:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-publish.yaml@main
secrets: inherit
with:
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
image: stock-center
dockerfile: docker/Dockerfile.stock-center
call-publication-docker-build:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-publish.yaml@main
secrets: inherit
with:
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
dockerfile: "docker/Dockerfile.publication"
image: publication