From 17e7abf1c0d0730d30583cd23bcdd9279b8c254c Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sun, 2 Aug 2026 17:57:34 -0500 Subject: [PATCH] ci: verify the GitHub release artifact --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0f04ee..e5bd383 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,4 +16,4 @@ jobs: with: node-version: '22' - run: npm ci - - run: npm run build + - run: npm run check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4565167..d070620 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,9 +17,11 @@ jobs: with: node-version: '22' - run: npm ci - - run: npm run build + - run: npm run check - name: Package dist/ run: tar -czf "green-tea-site-${{ github.ref_name }}.tar.gz" -C dist . + - name: Verify .htaccess in archive + run: tar -tzf "green-tea-site-${{ github.ref_name }}.tar.gz" | grep -Fx './.htaccess' - name: Attach to GitHub release uses: softprops/action-gh-release@v2 with: