From 45e6dca83f591e36fb3d5c875a5d034abae2aec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 16 Jun 2025 15:48:41 +0200 Subject: [PATCH] chore: test-package-action --- .github/workflows/nodejs-ts.yml | 14 -------------- .github/workflows/release.yml | 16 ---------------- .github/workflows/test-package.yml | 17 +++++++++++++++++ .github/workflows/typedoc.yml | 15 --------------- 4 files changed, 17 insertions(+), 45 deletions(-) delete mode 100644 .github/workflows/nodejs-ts.yml delete mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/test-package.yml delete mode 100644 .github/workflows/typedoc.yml diff --git a/.github/workflows/nodejs-ts.yml b/.github/workflows/nodejs-ts.yml deleted file mode 100644 index 71e0af2..0000000 --- a/.github/workflows/nodejs-ts.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Node.js CI - -on: - push: - branches: - - main - pull_request: - -jobs: - nodejs: - # Documentation: https://github.com/zakodium/workflows#nodejs-ci - uses: zakodium/workflows/.github/workflows/nodejs.yml@nodejs-v1 - with: - lint-check-types: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 7f5db58..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Release - -on: - push: - branches: - - main - -jobs: - release: - # Documentation: https://github.com/zakodium/workflows#release - uses: zakodium/workflows/.github/workflows/release.yml@release-v1 - with: - npm: true - secrets: - github-token: ${{ secrets.BOT_TOKEN }} - npm-token: ${{ secrets.NPM_BOT_TOKEN }} diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml new file mode 100644 index 0000000..68307d7 --- /dev/null +++ b/.github/workflows/test-package.yml @@ -0,0 +1,17 @@ +name: Test package + +on: + pull_request: + +jobs: + test-package: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22.x + - name: Run npm setup command + run: npm install + - name: Test package + uses: zakodium/test-package-action@dev diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml deleted file mode 100644 index 81c1ff6..0000000 --- a/.github/workflows/typedoc.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: TypeDoc - -on: - workflow_dispatch: - release: - types: [published] - -jobs: - typedoc: - # Documentation: https://github.com/zakodium/workflows#typedoc - uses: zakodium/workflows/.github/workflows/typedoc.yml@typedoc-v1 - with: - entry: 'src/index.ts' - secrets: - github-token: ${{ secrets.BOT_TOKEN }}