Skip to content

chore(deps): updated #23

chore(deps): updated

chore(deps): updated #23

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