Skip to content

Replace Webpack with Vite #218

Replace Webpack with Vite

Replace Webpack with Vite #218

Workflow file for this run

name: Tests
on:
pull_request:
branches: ['*']
jobs:
test:
name: Test on node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run Linters
run: npm run lint:release
- name: Build
run: npm run build --if-present
- name: Run tests
run: npm run test:ci