chore(deps-dev): bump vite from 4.5.5 to 5.4.11 #98
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: Sample CI | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
path: | |
- shared/mitre-vue | |
- ui/extensions/remediations | |
- ui/pages/chart-vue | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: Run yarn install in ${{ matrix.path }} | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: install | |
dir: ${{ matrix.path }} | |
- name: Build Vue app in ${{ matrix.path }} | |
if: matrix.path != 'shared/mitre-vue' | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: build | |
dir: ${{ matrix.path }} | |
- name: Test the Vue app in ${{ matrix.path }} | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: test:unit | |
dir: ${{ matrix.path }} |