feat(vue): Migrate vue build from vue/cli to vite #3133
Workflow file for this run
This file contains hidden or 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: ThemeBuilder tests | |
| on: [push, pull_request] | |
| jobs: | |
| themebuilder-test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| NODE: [ 18 ] | |
| runs-on: ubuntu-latest | |
| name: ThemeBuilder | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Get sources | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.NODE }} | |
| - name: Restore npm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: themebuilder-${{ runner.os }}-node-${{ matrix.NODE }}-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| themebuilder-${{ runner.os }}-node-${{ matrix.NODE }} | |
| themebuilder-${{ runner.os }}-node- | |
| - name: Run npm install | |
| run: npm install --no-package-lock --no-audit --no-fund | |
| - name: Run tests | |
| run: npm run test-themebuilder |