Skip to content

deploy demo

deploy demo #1

Workflow file for this run

name: Publish
on:
push:
branches: main
paths:
- .github/workflows/demo.yml
- demo/**
jobs:
demo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
node-version-file: ./demo/package.json
cache: 'npm'
cache-dependency-path: ./demo/package-lock.json
- run: npm i
with:

Check failure on line 22 in .github/workflows/demo.yml

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. .github/workflows/demo.yml (Line: 22, Col: 9): Unexpected value 'with' .github/workflows/demo.yml (Line: 25, Col: 9): Unexpected value 'with'
working-directory: ./demo
- run: npm run lint
with:
working-directory: ./demo
# - run: npm test
# with:
# working-directory: ./demo
- run: npm run build
with:
working-directory: ./demo
- run: npm run deploy
with:
working-directory: ./demo