ci: verify the GitHub release artifact

This commit is contained in:
chrnx committed 2026-08-02 17:57:34 -05:00
1 parent 6437289977
commit 17e7abf1c0
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -16,4 +16,4 @@ jobs:
with:
node-version: '22'
- run: npm ci
- run: npm run build
- run: npm run check
+3 -1
View File
@@ -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: