Skip to content

Commit

Permalink
Add basic GH workflow for website workspace
Browse files Browse the repository at this point in the history
This is an initial implementation of the CI process to check formatting
in `website` workspace.

Co-authored-by: Rafal Czajkowski <[email protected]>
  • Loading branch information
r-czajkowski authored and nkuba committed Nov 23, 2023
1 parent 3929638 commit feb21f1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Website

on:
push:
branches:
- main
paths:
- "website/**"
pull_request:

defaults:
run:
working-directory: ./website

jobs:
website-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: "website/.nvmrc"
cache: "yarn"
cache-dependency-path: "website/yarn.lock"

- name: Install Dependencies
run: yarn install --prefer-offline --frozen-lockfile

- name: Format
run: yarn format

0 comments on commit feb21f1

Please sign in to comment.