Skip to content

ci(release): 11.4.0 #3255

ci(release): 11.4.0

ci(release): 11.4.0 #3255

Workflow file for this run

name: Check
on: push
jobs:
lint:
name: Lint
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup
uses: actions/setup-node@v4
with:
cache: yarn
node-version: 20
- name: Install
run: yarn
- name: Lint commits
uses: wagoid/commitlint-github-action@v5
with:
commitDepth: 25
configFile: ./.commitlintrc
failOnWarnings: true
- name: Lint code
run: yarn test:lint
type:
name: Type
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-node@v4
with:
cache: yarn
node-version: 20
- name: Install
run: yarn
- name: Type
run: yarn test:type
test_unit:
name: Unit Test
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: yarn
node-version: 20
- name: Install
run: yarn
- name: Test
run: yarn test:unit
- name: Upload coverage
run: yarn codecov