VUU-31 Layout Server POC #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test" | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
vitest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: npm- | |
- name: Install dependencies | |
run: cd ./vuu-ui && npm install | |
- run: cd ./vuu-ui && npm run test:vite | |
# ensure the vuu example and showcase still build | |
vuu-and-showcase-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Install dependencies | |
run: cd ./vuu-ui && npm install | |
- name: Build Vuu Libraries | |
run: cd ./vuu-ui && npm run build | |
- name: Build showcase | |
run: cd ./vuu-ui && npm run showcase:build | |
- name: Build Vuu app | |
run: cd ./vuu-ui && npm run build:app |