Skip to content

chore: refactor createStyleContext.tsx #153

chore: refactor createStyleContext.tsx

chore: refactor createStyleContext.tsx #153

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
jobs:
build_and_lint:
name: Build and Lint
runs-on: ubuntu-latest
env:
DB_URL: ${{ secrets.DB_URL }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: yarn
- name: Cache Next.js builds
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-nextjs
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn build
- name: Lint Code
run: yarn lint