From 59a540ef2b5d0e86fe037be209421cda8a1034a3 Mon Sep 17 00:00:00 2001 From: Masonlet Date: Tue, 7 Jul 2026 21:09:13 -0400 Subject: [PATCH 1/4] chore: move test ci to .github repo --- .github/workflows/ci.yml | 22 ++-------------------- .github/workflows/publish.yml | 4 ++++ 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16ca646..c31c604 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,25 +5,7 @@ on: branches: [ "main" ] pull_request: branches: [ "main" ] - + jobs: test: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: 24 - cache: npm - - - name: Install dependencies - run: npm install - - - name: Type check - run: npm run typecheck - - - name: Run tests - run: npm run test:coverage + uses: contact-api/.github/.github/workflows/test.yml@main diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7fed609..d7e2f0d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,11 @@ on: - 'v*' jobs: + test: + uses: contact-api/.github/.github/workflows/test.yml@main + publish: + needs: test runs-on: ubuntu-latest permissions: contents: write From 63d34ce6d665a22deb7b92e0fd04435ddeb42ef9 Mon Sep 17 00:00:00 2001 From: Masonlet Date: Tue, 7 Jul 2026 21:33:47 -0400 Subject: [PATCH 2/4] chore: move publish ci to .github repo --- .github/workflows/publish.yml | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d7e2f0d..c0715d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,33 +7,9 @@ on: jobs: test: - uses: contact-api/.github/.github/workflows/test.yml@main + uses: contact-api/.github/.github/workflows/test.yml@v1.0.0 publish: needs: test - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: '24' - registry-url: 'https://registry.npmjs.org' - - - name: Install dependencies - run: npm install - - - name: Publish to npm - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Create GitHub Release - uses: softprops/action-gh-release@v2 - with: - generate_release_notes: true + uses: contact-api/.github/.github/workflows/publish.yml@v1.0.0 + secrets: inherit From cf1880187e2aeb4396c1508f5c133e75f445a048 Mon Sep 17 00:00:00 2001 From: Masonlet Date: Tue, 7 Jul 2026 21:34:18 -0400 Subject: [PATCH 3/4] chore: pin ci to 1.0.0 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c31c604..05389c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,4 +8,4 @@ on: jobs: test: - uses: contact-api/.github/.github/workflows/test.yml@main + uses: contact-api/.github/.github/workflows/test.yml@v1.0.0 From cbbfa366f137492d5d857fa4fdc4b16575253b54 Mon Sep 17 00:00:00 2001 From: Masonlet Date: Tue, 7 Jul 2026 22:01:55 -0400 Subject: [PATCH 4/4] fix: bump v1.0.1 --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05389c1..bc55e84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,4 +8,4 @@ on: jobs: test: - uses: contact-api/.github/.github/workflows/test.yml@v1.0.0 + uses: contact-api/.github/.github/workflows/test.yml@v1.0.1 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c0715d1..9552f64 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,9 +7,9 @@ on: jobs: test: - uses: contact-api/.github/.github/workflows/test.yml@v1.0.0 + uses: contact-api/.github/.github/workflows/test.yml@v1.0.1 publish: needs: test - uses: contact-api/.github/.github/workflows/publish.yml@v1.0.0 + uses: contact-api/.github/.github/workflows/publish.yml@v1.0.1 secrets: inherit