passive thebe manager #198
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy-demo-pr-preview | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed | |
permissions: write-all | |
jobs: | |
deploy-preview: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: 'Checkout repo' | |
uses: actions/checkout@v3 | |
- name: 'Cache node_modules' | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
- name: 'Install' | |
run: npm ci | |
- name: 'Build libs' | |
run: npm run build | |
- name: 'Build demos' | |
run: npm run demo | |
- name: Deploy preview | |
uses: rossjrw/pr-preview-action@v1 | |
with: | |
source-dir: ./apps/simple/dist |