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: 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