From bdec99d38996c49b921d302e492dc4a7e8a56af9 Mon Sep 17 00:00:00 2001 From: Gonzalo D'elia Date: Fri, 30 Jan 2026 11:15:39 -0300 Subject: [PATCH 1/2] Add workflows for checks and publish --- .github/workflows/js-checks.yml | 18 ++++++++++++++++++ .github/workflows/npm-publish.yml | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/js-checks.yml create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/js-checks.yml b/.github/workflows/js-checks.yml new file mode 100644 index 0000000..7aa3a1f --- /dev/null +++ b/.github/workflows/js-checks.yml @@ -0,0 +1,18 @@ +name: JS Checks + +on: + pull_request: + push: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} + cancel-in-progress: true + +jobs: + run-checks-and-tests: + uses: hemilabs/.github/.github/workflows/js-checks-pnpm.yml@e9f85a5eb81dda87d4c046eda82e45822bc1ee32 + with: + node-versions: '["20", "22", "24"]' diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 0000000..bcd3d3b --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,16 @@ +name: NPM Publish + +on: + release: + types: + - published + +jobs: + npm-publish: + permissions: + contents: read + id-token: write + uses: hemilabs/.github/.github/workflows/npm-publish.yml@e9f85a5eb81dda87d4c046eda82e45822bc1ee32 + with: + package-manager: "pnpm" + secrets: inherit From a0ee0a9dc2c29c477fbf6315cf7825365aaca932 Mon Sep 17 00:00:00 2001 From: Gonzalo D'elia Date: Fri, 30 Jan 2026 12:27:13 -0300 Subject: [PATCH 2/2] Update knip config --- .knip.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.knip.json b/.knip.json index 4dc75a4..e71daeb 100644 --- a/.knip.json +++ b/.knip.json @@ -1,3 +1,4 @@ { - "entry": ["src/*.ts"] + "entry": ["src/*.ts"], + "ignoreDependencies": ["eslint-config-prettier"] }