Skip to content

Don't attempt to cache without package-lock.json #4

Don't attempt to cache without package-lock.json

Don't attempt to cache without package-lock.json #4

Workflow file for this run

name: Deploy Demo
on:
push:
branches: ['main']
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build -- --base=/tuner/
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './demo'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4