Skip to content

Commit

Permalink
test: CI test for demos
Browse files Browse the repository at this point in the history
  • Loading branch information
harttle committed Aug 27, 2024
1 parent 4e498b7 commit 5c47016
Show file tree
Hide file tree
Showing 20 changed files with 18,219 additions and 12,097 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,28 @@ jobs:
with:
name: npm-logs
path: ~/.npm/_logs
demo:
name: Demo Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 22
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: dist-${{ matrix.os }}
path: dist
- name: Run Demo Test
run: npm run test:demo
- name: Archive npm failure logs
uses: actions/upload-artifact@v3
if: failure()
with:
name: npm-logs
path: ~/.npm/_logs
Loading

0 comments on commit 5c47016

Please sign in to comment.