-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (38 loc) · 1.16 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
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-deploy:
needs: test
uses: dictyBase/workflows/.github/workflows/composite-deploy.yaml@develop
secrets: inherit
with:
app: frontpage:stockcenter:publication
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
docker_image: dicty-frontpage:stock-center:publication
dockerfile: docker/Dockerfile.frontpage:docker/Dockerfile.stock-center:docker/Dockerfile.publication
cluster: ${{ vars.DEV_STAGING_CLUSTER }}
cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }}
project: frontend_application
application_type: frontend