chore: lock ch version to 24-alpine #2291
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: [main, v2] | |
pull_request: | |
branches: [main, v2] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
timeout-minutes: 8 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache-dependency-path: 'yarn.lock' | |
cache: 'yarn' | |
- name: Install root dependencies | |
run: yarn install | |
- name: Build dependencies | |
run: make ci-build | |
- name: Install core libs | |
run: sudo apt-get install --yes curl bc | |
- name: Run lint + type check | |
run: make ci-lint | |
unit: | |
timeout-minutes: 8 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache-dependency-path: 'yarn.lock' | |
cache: 'yarn' | |
- name: Install root dependencies | |
run: yarn install | |
- name: Build dependencies | |
run: make ci-build | |
- name: Run unit tests | |
run: make ci-unit | |
integration: | |
timeout-minutes: 8 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache-dependency-path: 'yarn.lock' | |
cache: 'yarn' | |
- name: Install root dependencies | |
run: yarn install | |
- name: Expose GitHub Runtime | |
uses: crazy-max/ghaction-github-runtime@v2 | |
- name: Spin up docker services | |
run: | | |
docker buildx create --use --driver=docker-container | |
docker buildx bake -f ./docker-compose.ci.yml --set *.cache-to="type=gha" --set *.cache-from="type=gha" --load | |
- name: Build dependencies | |
run: make ci-build | |
- name: Run integration tests | |
run: make ci-int |