Skip to content

Commit

Permalink
feat: add ci (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eikix authored Feb 13, 2024
1 parent 94a6c07 commit 1b0312a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

permissions:
contents:
read: all
pull_requests:
read: all

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up pnpm
uses: pnpm/action-setup@v3

- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build Docusaurus
run: pnpm docusaurus build

0 comments on commit 1b0312a

Please sign in to comment.