Skip to content

chore(RELEASE): 0.1.6 (#120) #798

chore(RELEASE): 0.1.6 (#120)

chore(RELEASE): 0.1.6 (#120) #798

Workflow file for this run

name: CI
on:
push:
branches:
- main
- "v[0-9]+" # v1, v2, ...
- "v[0-9]+.[0-9]+" # v4.0, v4.1, ...
pull_request:
workflow_dispatch:
permissions:
contents: read
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install font
run: npm run install-font
- name: Install dependencies
run: |
npm i -g yarn
yarn
- name: Type check
run: npm run type-check
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Unit test
run: npm run coverage
- name: Upload coverage
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: github.ref == 'refs/heads/main' && !cancelled()
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}