Update and rename website.yml to docs.yml
This commit is contained in:
parent
1e624909c5
commit
6073d7385b
@ -5,11 +5,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
paths:
|
paths:
|
||||||
- website/**
|
- docs/**
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
paths:
|
paths:
|
||||||
- website/**
|
- docs/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -28,16 +28,16 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: website/yarn.lock
|
cache-dependency-path: docs/yarn.lock
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
working-directory: ./website
|
working-directory: ./docs
|
||||||
run: |
|
run: |
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
working-directory: ./website
|
working-directory: ./docs
|
||||||
run: |
|
run: |
|
||||||
yarn lint
|
yarn lint
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user