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 ce84cd6 commit 3eb307a
Show file tree
Hide file tree
Showing 21 changed files with 18,220 additions and 12,098 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-ubuntu-latest
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
2 changes: 1 addition & 1 deletion benchmark/engines/liquid.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const { createEngine } = require('./create-liquid')

module.exports = createEngine(require('../../dist/liquid.cjs'))
module.exports = createEngine(require('../../dist/liquid.node'))
Loading

0 comments on commit 3eb307a

Please sign in to comment.