Skip to content

feat: v0.6.0

feat: v0.6.0 #171

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions: read-all
jobs:
lint-and-test:
name: Lint and Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: yarn
- name: Install deps
run: yarn install --frozen-lockfile
- uses: pre-commit/[email protected]
env:
RAINDROP_API_TOKEN: ${{ secrets.RAINDROP_API_TOKEN }}
# NOTE: Disabled for reason: manual intervention & update on codes are required
# - uses: pre-commit-ci/[email protected]
# if: always()
- name: Try build
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: yarn run build
- name: Upload test results to codecov
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
files: junit.xml,typecheck.junit.xml
- name: Upload coverage report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
files: coverage/clover.xml