cursor (#25) #46
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-TS | |
on: | |
push: | |
paths: | |
- "**/demo/**" | |
- "**/ci-ts.yml" | |
- "**/.eslintrc.json" | |
- "**/.node-version" | |
- "**/package.json" | |
- "**/pnpm-lock.yaml" | |
workflow_dispatch: | |
env: | |
CI: true | |
# Cancel old builds on new commit for same workflow + branch/PR | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: false | |
jobs: | |
ci-ts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
# Will figure out a better way to do these later | |
- name: Install Global Dependencies | |
run: bun install --ignore-scripts | |
# Errors out on build when separated into multiple steps | |
- name: Install, Build, and Lint Demo | |
run: cd demo && bun install --ignore-scripts && bun run build && bun run lint |