fix: cors error if BasePath
is set
#145
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: PR | |
on: | |
pull_request: | |
paths-ignore: | |
- README.md | |
workflow_dispatch: | |
concurrency: | |
group: pr-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
env: | |
TILT_VERSION: '0.33.21' | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Tilt | |
uses: yokawasa/[email protected] | |
with: | |
setup-tools: | | |
tilt | |
tilt: ${{ env.TILT_VERSION }} | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: pnpm | |
- name: Run npm install | |
run: pnpm install --frozen-lockfile | |
- name: Eslint | |
run: pnpm run lint | |
- name: Run Tests | |
run: pnpm run tilt:ci |