Skip to content

fix: reuse existing PR in updateFromSourceSpec instead of creating duplicates #17

fix: reuse existing PR in updateFromSourceSpec instead of creating duplicates

fix: reuse existing PR in updateFromSourceSpec instead of creating duplicates #17

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npx vitest run
- name: Build
run: npm run build
- name: Check dist is up to date
run: |
git diff --exit-code dist/ || (echo "Error: dist/ is out of date. Run 'npm run build' and commit the result." && exit 1)