Skip to content

chore: cleanup

chore: cleanup #14

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build & Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- next
- main
env:
NODE_VERSION: lts/*
jobs:
build-lint-ts:
name: Build & Lint Typescript
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: ⤵️ Checkout repository
uses: actions/[email protected]
- name: 🏗 Setup nodejs
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
- name: 🏗 Install dependencies
run: yarn install --frozen-lockfile
- name: 🚀 Build Typescript
run: yarn build
- name: 🚀 Run ESLint
run: yarn lint