feat: Allow project-owned vite plugin dep #743
This file contains hidden or 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: SDK Checks | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "sdk/**" | |
pull_request: | |
paths: | |
- "sdk/**" | |
jobs: | |
check-sdk: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: | | |
corepack enable | |
pnpm install | |
- name: Build SDK | |
run: pnpm build | |
working-directory: sdk | |
- name: Run tests | |
run: pnpm test | |
working-directory: sdk |