Update and rename website.yml to docs.yml

This commit is contained in:
Daniel Lautzenheiser 2022-12-06 09:52:36 -05:00 committed by GitHub
parent 1e624909c5
commit 6073d7385b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,11 +5,11 @@ on:
push:
branches: [ "main" ]
paths:
- website/**
- docs/**
pull_request:
branches: [ "main" ]
paths:
- website/**
- docs/**
jobs:
build:
@ -28,16 +28,16 @@ jobs:
uses: actions/setup-node@v3
with:
cache: yarn
cache-dependency-path: website/yarn.lock
cache-dependency-path: docs/yarn.lock
node-version: 16
- name: Install
working-directory: ./website
working-directory: ./docs
run: |
yarn install --frozen-lockfile
- name: Lint
working-directory: ./website
working-directory: ./docs
run: |
yarn lint