Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/fix-maxcount-result-mapping.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@_linked/core": patch
"@_linked/core": minor
---

Fix maxCount-aware result mapping for single-value and multi-value properties
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 4 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Loading