fix: change branch size max length to 200 (#195) #316
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: checks | |
on: | |
push: | |
branches: [master, release/*, next] | |
pull_request: | |
types: [synchronize, opened, reopened] | |
jobs: | |
packages: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: yarn build-packages | |
- name: Test | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
run: yarn test-packages | |
- uses: codecov/codecov-action@v1 | |
if: ${{ matrix.node-version == '18.x' }} # run this step only one time | |
with: | |
file: ./coverage/coverage-final.json | |
- name: Lint | |
if: ${{ matrix.node-version == '18.x' }} # run this step only one time | |
run: yarn lint-packages | |
- name: Type check | |
if: ${{ matrix.node-version == '18.x' }} # run this step only one time | |
run: yarn type-check-packages | |
website: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn | |
- name: Build packages | |
run: yarn build-packages | |
- name: type check | |
working-directory: ./website | |
run: yarn type-check | |
- name: Lint | |
working-directory: ./website | |
run: yarn lint | |
service: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run docker compose | |
run: docker-compose -f service/docker-compose.test.yml up -d | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn | |
- name: Build packages | |
run: yarn build-packages | |
- name: Test | |
working-directory: ./service | |
run: yarn test | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: ./service/coverage/coverage-final.json | |
- name: type check | |
working-directory: ./service | |
run: yarn type-check | |
- name: Lint | |
working-directory: ./service | |
run: yarn lint | |
- name: Build | |
working-directory: ./service | |
run: yarn build |