From c148238818f4941fd4a5c23df8b743c0fecdc148 Mon Sep 17 00:00:00 2001 From: Jared Wray Date: Tue, 13 Jan 2026 09:20:32 -0500 Subject: [PATCH 1/2] feat: adding in AGENTS.md --- AGENTS.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..2df7d47 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,5 @@ +# Agent Guidelines + +- Use `pnpm` instead of `npm` for all package management commands +- When making changes, always run `pnpm test` to verify tests pass +- When making changes, always maintain 100% code coverage From bc600f5fa2be821badb80b5658e8b262e885c367 Mon Sep 17 00:00:00 2001 From: Jared Wray Date: Tue, 13 Jan 2026 09:37:11 -0500 Subject: [PATCH 2/2] adding in nodejs version tests --- .github/workflows/tests-nodejs-20.yaml | 44 ++++++++++++++++++++++++++ .github/workflows/tests-nodejs-22.yaml | 44 ++++++++++++++++++++++++++ .github/workflows/tests.yaml | 2 +- 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/tests-nodejs-20.yaml create mode 100644 .github/workflows/tests-nodejs-22.yaml diff --git a/.github/workflows/tests-nodejs-20.yaml b/.github/workflows/tests-nodejs-20.yaml new file mode 100644 index 0000000..01e9952 --- /dev/null +++ b/.github/workflows/tests-nodejs-20.yaml @@ -0,0 +1,44 @@ +name: tests + +on: + workflow_dispatch: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +permissions: + contents: read + +env: + HYPHEN_PUBLIC_API_KEY: ${{ secrets.HYPHEN_PUBLIC_API_KEY }} + HYPHEN_API_KEY: ${{ secrets.HYPHEN_API_KEY }} + HYPHEN_APPLICATION_ID: ${{ secrets.HYPHEN_APPLICATION_ID }} + HYPHEN_ORGANIZATION_ID: ${{ secrets.HYPHEN_ORGANIZATION_ID }} + HYPHEN_LINK_DOMAIN: ${{ secrets.HYPHEN_LINK_DOMAIN }} + +jobs: + build-test: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ['20'] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Install Dependencies + run: npm install pnpm -g && pnpm install + + - name: Build + run: pnpm build + + - name: Testing + run: pnpm test + diff --git a/.github/workflows/tests-nodejs-22.yaml b/.github/workflows/tests-nodejs-22.yaml new file mode 100644 index 0000000..3644796 --- /dev/null +++ b/.github/workflows/tests-nodejs-22.yaml @@ -0,0 +1,44 @@ +name: tests + +on: + workflow_dispatch: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +permissions: + contents: read + +env: + HYPHEN_PUBLIC_API_KEY: ${{ secrets.HYPHEN_PUBLIC_API_KEY }} + HYPHEN_API_KEY: ${{ secrets.HYPHEN_API_KEY }} + HYPHEN_APPLICATION_ID: ${{ secrets.HYPHEN_APPLICATION_ID }} + HYPHEN_ORGANIZATION_ID: ${{ secrets.HYPHEN_ORGANIZATION_ID }} + HYPHEN_LINK_DOMAIN: ${{ secrets.HYPHEN_LINK_DOMAIN }} + +jobs: + build-test: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ['22'] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Install Dependencies + run: npm install pnpm -g && pnpm install + + - name: Build + run: pnpm build + + - name: Testing + run: pnpm test + diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8ab3066..b07196f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -24,7 +24,7 @@ jobs: strategy: matrix: - node-version: ['20', '22'] + node-version: ['24'] steps: - uses: actions/checkout@v4