build(deps): bump nanoid from 3.3.7 to 3.3.8 #176
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: 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@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: false | |
files: coverage/clover.xml |