-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (41 loc) · 1.08 KB
/
node-ci-dev.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
name: Continuos integration
on:
push:
branches:
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: set up node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: check out code
uses: actions/checkout@v3
- name: rename config file
run: mv common/utils/clientConfig.sample.ts common/utils/clientConfig.ts
- name: install
run: yarn install
- name: rescript
run: yarn re:build
- name: run eslint
run: yarn lint
- name: run typescript build
run: yarn tsc
- name: unit tests
run: yarn test-coverage
env:
CI: true
- name: upload test coverage to codecov
uses: codecov/codecov-action@v3
- name: run build
run: yarn build
call-docker-build:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-build-push-custom.yaml@develop
secrets: inherit
with:
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
dockerfile: "docker/Dockerfile.dev"