From 1ba0904b7916021e64b58269d516e8c9e644a7d4 Mon Sep 17 00:00:00 2001 From: Robbert Broersma Date: Sun, 20 Oct 2024 18:17:34 +0200 Subject: [PATCH] ci: check changelog validity in GitHub Actions --- .github/workflows/continuous-deployment.yml | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index 7754b4a..3941ab1 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -35,6 +35,8 @@ jobs: steps: - name: Checkout branch uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + with: + fetch-depth: 0 - name: Install pnpm package manager uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 diff --git a/package.json b/package.json index 6fcbc3d..44a8332 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "build": "pnpm --recursive run build", "clean": "pnpm --recursive run clean", "lint": "npm-run-all --continue-on-error lint:** lint-workspaces", + "lint:changeset": "changeset status", "lint:css": "stylelint --allow-empty-input '**/*.{css,scss}'", "lint:js": "eslint", "lint:md": "markdownlint '**/*.md'",