Bump vite from 6.0.11 to 6.1.0 #1073
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: "CI" | |
| on: | |
| push: | |
| branches: "*" | |
| pull_request: | |
| env: | |
| cache-version: 1 | |
| jobs: | |
| build: | |
| name: "Build" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4.2.2 | |
| - name: "Cache NPM dependencies" | |
| uses: actions/cache@v4.2.0 | |
| with: | |
| path: "~/.npm" | |
| key: npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| restore-keys: | | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}- | |
| - name: "Install NPM dependencies" | |
| run: | | |
| npm ci | |
| - name: "Build" | |
| run: | | |
| npm run build | |
| lint: | |
| name: "Lint" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4.2.2 | |
| - name: "Cache NPM dependencies" | |
| uses: actions/cache@v4.2.0 | |
| with: | |
| path: "~/.npm" | |
| key: npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| restore-keys: | | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}- | |
| - name: "Install NPM dependencies" | |
| run: | | |
| npm ci | |
| - name: "Lint" | |
| run: | | |
| npm run lint | |
| test: | |
| name: "Test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4.2.2 | |
| - name: "Cache NPM dependencies" | |
| uses: actions/cache@v4.2.0 | |
| with: | |
| path: "~/.npm" | |
| key: npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| restore-keys: | | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}- | |
| - name: "Install NPM dependencies" | |
| run: | | |
| npm ci | |
| - name: "Run tests" | |
| run: | | |
| npm run test | |
| - name: "Upload coverage results" | |
| uses: coverallsapp/github-action@v2.3.6 | |
| with: | |
| debug: true |