galaxyproject/galaxy-charts (opens in new tab)
2 workflows
Deploy docs to Pages
.github/workflows/deploy-docs.yml (opens in new tab)Triggers
push workflow_dispatch
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| build | ubuntu-latest | 6 | actions/checkout@v6 actions/setup-node@v6 actions/configure-pages@v6 actions/upload-pages-artifact@v5 |
| Deploy | ubuntu-latest | 1 | actions/deploy-pages@v5 |
Raw YAML
# Build the Astro docs in `docs/` and publish to GitHub Pages.
name: Deploy docs to Pages
on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
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
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
cache-dependency-path: docs/package-lock.json
- name: Setup Pages
uses: actions/configure-pages@v6
- name: Install dependencies
run: npm ci
working-directory: docs
- name: Build with Astro
run: npm run build
working-directory: docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: docs/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
Last fetched:
Test Charts UI
.github/workflows/test-charts-ui.yml (opens in new tab)Triggers
pull_request push
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| test | ubuntu-latest | 6 | actions/checkout@v6 actions/setup-node@v6 |
Raw YAML
name: Test Charts UI
on:
pull_request:
branches: [main]
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test
- name: Run build
run: npm run build
Last fetched: