Skip to content

Commit

Permalink
update test-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqcode committed Dec 19, 2023
1 parent c228388 commit 21c3128
Showing 1 changed file with 4 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,15 @@ name: Test Docs

on:
pull_request:
branches:
- master
paths:
- "docs/**"
push:
branches:
- "!master"
paths:
- "docs/**"

jobs:
deploy:
strategy:
matrix:
node: [18, 20]
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
test_docs:
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand All @@ -28,10 +19,10 @@ jobs:
- name: Use pnpm
uses: pnpm/action-setup@v2

- name: Use Node.js ${{ matrix.node }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version: 18.x
cache: pnpm

- name: Install dependencies
Expand Down

0 comments on commit 21c3128

Please sign in to comment.