Skip to content

debugging github build #6

debugging github build

debugging github build #6

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./js
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: ./js/package-lock.json
- run: npm ci
- run: npx vite build --base=/surf/
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload dist folder
path: './js/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4