Skip to content

craft: release "sentry-javascript", version "10.48.0" #376

craft: release "sentry-javascript", version "10.48.0"

craft: release "sentry-javascript", version "10.48.0" #376

name: Deploy Visualization to GitHub Pages
on:
push:
branches:
- master
paths:
- 'visualization/**'
- 'apps/**'
- 'packages/**'
- '.github/workflows/deploy-visualization.yml'
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0 # Full git history for data generation
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: visualization/package-lock.json
- name: Install dependencies
working-directory: ./visualization
run: npm ci
- name: Build visualization
working-directory: ./visualization
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
with:
path: ./visualization/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4