Skip to content

passive thebe manager #198

passive thebe manager

passive thebe manager #198

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