Skip to content

ci(release): 14.1.0 #3830

ci(release): 14.1.0

ci(release): 14.1.0 #3830

Workflow file for this run

name: Check
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
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: 100
- name: Setup
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install
uses: ./.github/actions/install
- name: Lint commits (last 100)
run: yarn commitlint --from HEAD~99 --to HEAD -V
- 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:
node-version: 20
- name: Install
uses: ./.github/actions/install
- 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:
node-version: 20
- name: Install
uses: ./.github/actions/install
- name: Test
run: yarn test:unit --coverage
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
flags: unit
token: ${{ secrets.CODECOV_TOKEN }}