ci: restructure pipeline - test only for test tags, build only for dev/beta, build+docs for release

This commit is contained in:
datadunia
2026-06-18 09:01:36 +07:00
parent d21863ce8f
commit 6f22aad1ad
4 changed files with 73 additions and 35 deletions
+11
View File
@@ -21,6 +21,17 @@ jobs:
with:
node-version: '24'
- name: Hash package-lock
id: hash-npm
run: echo "hash=$(sha256sum apps/docs/package-lock.json 2>/dev/null || echo 'none') | cut -d' ' -f1)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v3
with:
path: |
~/.npm
key: npm-docs-${{ steps.hash-npm.outputs.hash }}
restore-keys: npm-docs-
- name: Install
working-directory: apps/docs
run: npm ci || npm install