Add build files to demo workflow
This commit is contained in:
8
.github/workflows/default.yml
vendored
8
.github/workflows/default.yml
vendored
@ -52,13 +52,19 @@ jobs:
|
|||||||
run: npm run style
|
run: npm run style
|
||||||
demos:
|
demos:
|
||||||
name: Run Demos
|
name: Run Demos
|
||||||
|
needs: [build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Prettier
|
- name: Download Artifact
|
||||||
|
uses: actions/download-artifact@master
|
||||||
|
with:
|
||||||
|
name: build
|
||||||
|
path: build
|
||||||
|
- name: Run demos
|
||||||
run: |
|
run: |
|
||||||
npm run ts-node -- ./demo/1-basic.ts
|
npm run ts-node -- ./demo/1-basic.ts
|
||||||
npm run ts-node -- ./demo/2-declaritive-styles.ts
|
npm run ts-node -- ./demo/2-declaritive-styles.ts
|
||||||
|
Reference in New Issue
Block a user