personal-website/.github/workflows/ci.yml

32 lines
470 B
YAML
Raw Normal View History

2024-03-13 07:17:11 +00:00
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set pnpm
uses: pnpm/action-setup@v3
- name: Set node
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint