Skip to content

build(deps-dev): bump vite from 4.2.0 to 4.2.3 #68

build(deps-dev): bump vite from 4.2.0 to 4.2.3

build(deps-dev): bump vite from 4.2.0 to 4.2.3 #68

Workflow file for this run

name: Lint
on:
push:
branches:
- '*'
- '!master'
pull_request:
branches:
- '*'
jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Run TypeScript checks
run: npm run type-check
- name: Run ESLint checks
run: npm run lint
- name: Run commitlint checks (Pull request)
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }}
if: github.event_name == 'pull_request'
- name: Run commitlint checks (Push)
run: npx commitlint --from ${{ github.event.before }} --to ${{ github.event.after }}
if: github.event_name == 'push'