Skip to content

test: fix type errors #158

test: fix type errors

test: fix type errors #158

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
node: [20]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: yarn-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Build and test the library
run: |
yarn
yarn prepack
yarn test:unit
yarn test:snapshot
deploy-docs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Trigger deploy
env:
deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
run: |
curl "$deploy_url"