Skip to content

Merge pull request #102 from Project-MONAI/fix/ci-lockfile-npm10 #33

Merge pull request #102 from Project-MONAI/fix/ci-lockfile-npm10

Merge pull request #102 from Project-MONAI/fix/ci-lockfile-npm10 #33

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [master, main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: actions/setup-node@v5
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm test
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
id: deployment