ci: revert paths-ignore
filtering out playground/**
#287
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: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
node: [20] | |
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-xlarge] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- name: Install dependencies | |
run: bun install | |
- name: Build the library | |
run: bun run build | |
- name: Run unit tests | |
run: bun run test | |
- name: Type check fixtures | |
run: bun run test:fixtures-types | |
- name: Deploy docs | |
# Only trigger deploy if previous steps pass on main branch. | |
# Only fire once per branch push. | |
if: matrix.os == 'macos-latest' && github.ref == 'refs/heads/main' | |
env: | |
deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }} | |
run: curl "$deploy_url" |