Skip to content

fix(deps): updated svgr plugin #13

fix(deps): updated svgr plugin

fix(deps): updated svgr plugin #13

name: PR Lint & Build
on:
pull_request:
branches: [ develop ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Using pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Use node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Installing dependencies
run: pnpm i
- name: Running ESLint
run: pnpm run lint
build:
runs-on: ubuntu-latest
needs: [lint]
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Using pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Use node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Installing dependencies
run: pnpm i
- name: Running Build
run: pnpm run build