Reduce repeated CLI builds and isolate CI publication

This commit is contained in:
vorotamoroz committed 2026-10-14 10:08:35 +00:00
1 parent 0956663f7b
commit 8892f659f6
11 files changed
+547 -109

No files matched your search

+13 -7
View File
@@ -9,6 +9,7 @@ on:
- 'aggregator.html'
- 'src/**'
- 'test/browser-apps/**'
- 'manifest.json'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/deploy-pages.yml'
@@ -17,18 +18,17 @@ on:
- 'aggregator.html'
- 'src/**'
- 'test/browser-apps/**'
- 'manifest.json'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/deploy-pages.yml'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build:
@@ -84,9 +84,6 @@ jobs:
- name: Validate packaged Pages site
run: npm run test:browser-apps:pages
- name: Configure GitHub Pages
uses: actions/configure-pages@v6
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v5
with:
@@ -97,10 +94,19 @@ jobs:
if: github.event_name != 'pull_request'
needs: build
runs-on: ubuntu-latest
concurrency:
group: pages
cancel-in-progress: false
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Configure GitHub Pages
uses: actions/configure-pages@v6
- name: Deploy GitHub Pages
id: deployment
uses: actions/deploy-pages@v5