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 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"] }