Skip to content

πŸ”„ synced file(s) with nebari-dev/nebari #1318

πŸ”„ synced file(s) with nebari-dev/nebari

πŸ”„ synced file(s) with nebari-dev/nebari #1318

Workflow file for this run

name: Test Website
on:
pull_request:
branches: ["*"]
jobs:
publish:
name: Test Website
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- name: Check out repository πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Get yarn cache directory path πŸͺ„
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies πŸ§ͺ
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies πŸ“¦
run: yarn install
- name: Lint πŸ”
run: yarn run lint
- name: Format πŸ₯‡
run: yarn run format
- name: Build site πŸ”¨
run: yarn run build