Skip to content

feat/theme

feat/theme #273

Workflow file for this run

name: Lint
on:
workflow_dispatch:
push:
branches: ["main", "gql"]
pull_request:
branches: ["main", "gql"]
jobs:
build:
name: Lint and Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# setup nodejs
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: latest
# cache node_modules
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Lint
run: npx turbo run lint
- name: Build
run: npx turbo run build