Skip to content

build(deps-dev): bump vite from 2.9.17 to 2.9.18 #54

build(deps-dev): bump vite from 2.9.17 to 2.9.18

build(deps-dev): bump vite from 2.9.17 to 2.9.18 #54

Workflow file for this run

name: Validation
on:
push:
branches-ignore:
- "main"
# on:
# pull_request:
# branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Checkout code
uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 6.0.2
- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Install dependencies
run: pnpm install
- name: Run linter
run: pnpm lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Checkout code
uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 6.0.2
- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Install dependencies
run: pnpm install
- name: Run unit tests
run: pnpm test
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Checkout code
uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 6.0.2
- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Install dependencies
run: pnpm install
- name: Run build
run: npm run build