Skip to content

add worker-mode playground #96

add worker-mode playground

add worker-mode playground #96

name: 'vite-plugin-symfony CI'
on:
push:
branches: ['main']
pull_request:
defaults:
run:
working-directory: ./src/vite-plugin-symfony
jobs:
lint:
name: Eslint and Tsc
strategy:
fail-fast: true
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: |
/pnpm-lock.yaml
/src/vite-plugin-symfony
sparse-checkout-cone-mode: false
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20'
cache: 'pnpm'
- name: 'Install JS dependencies'
run: 'pnpm i --frozen-lockfile'
- name: 'Eslint'
run: 'pnpm run lint:check'
- name: 'Tsc'
run: 'pnpm run tsc:check'
- name: 'Test'
run: 'pnpm run test-run'