diff --git a/.changeset/fix-maxcount-result-mapping.md b/.changeset/fix-maxcount-result-mapping.md index 6c1bf64..6712426 100644 --- a/.changeset/fix-maxcount-result-mapping.md +++ b/.changeset/fix-maxcount-result-mapping.md @@ -1,5 +1,5 @@ --- -"@_linked/core": patch +"@_linked/core": minor --- Fix maxCount-aware result mapping for single-value and multi-value properties diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..28dd24b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + pull_request: + branches: + - main + - dev + +jobs: + build-and-test: + name: Build & Test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + + - name: Install dependencies + run: npm ci --legacy-peer-deps + + - name: Build + run: npm run build + + - name: Test + run: npm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8b2897e..a0d6acd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,8 +9,8 @@ on: concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: - build-and-test: - name: Build & Test + build: + name: Build runs-on: ubuntu-latest steps: - name: Checkout @@ -28,12 +28,9 @@ jobs: - name: Build run: npm run build - - name: Test - run: npm test - release: name: Publish Stable Release - needs: build-and-test + needs: build if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest permissions: @@ -98,7 +95,7 @@ jobs: dev-release: name: Publish Dev Release - needs: build-and-test + needs: build if: github.ref == 'refs/heads/dev' runs-on: ubuntu-latest permissions: