Skip to content

Commit

Permalink
add workflow: check_pr
Browse files Browse the repository at this point in the history
  • Loading branch information
summerain0 authored and Rosemoe committed Feb 12, 2024
1 parent a5d95af commit ac4a318
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Check Pull Request

on:
pull_request:
types: [opened, reopened]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci

- name: Test build with VitePress
run: |
npm run build

0 comments on commit ac4a318

Please sign in to comment.