Bump vite from 5.0.10 to 5.0.13 #621
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: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
types: [opened, reopened, synchronize] | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21.x | |
cache: 'npm' | |
- name: Setup repo | |
run: npm ci | |
- name: Linting | |
run: npm run lint | |
- name: Types | |
run: npm run lint:types | |
- name: Dependencies | |
run: npm run lint:dependencies | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21.x | |
cache: 'npm' | |
- name: Setup repo | |
run: npm ci | |
- name: Jest | |
run: npm run test | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21.x | |
cache: 'npm' | |
- name: Setup repo | |
run: npm ci | |
- name: Build all files to check types (dev) | |
run: npm run build:dev | |
- name: Build all files to check types (prod) | |
run: npm run build:prod | |
- name: Generate bundle stats | |
run: npm run build:stats | |
- name: Upload packaged files | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Bundle statistics | |
path: | | |
core/editor/stats.html | |
core/client/stats.html |