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: