Skip to content

chore(deps): update dependency prettier to v3.4.2 (#930) #3041

chore(deps): update dependency prettier to v3.4.2 (#930)

chore(deps): update dependency prettier to v3.4.2 (#930) #3041

Workflow file for this run

name: Node.js CI
on:
push:
branches: [develop]
pull_request:
types: [synchronize, opened, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
# Use same version of node for netlify and CI build
node-version-file: '.nvmrc'
cache: 'npm'
- name: Docusaurus cache
if: ${{ github.ref != 'refs/heads/develop' }}
uses: actions/cache@v4
with:
path: |
.docusaurus
node_modules/.cache
key: ${{ runner.os }}-docusaurus-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.[jt]s', '**/*.[jt]sx') }}-${{ hashFiles('**/*.md', '**/*.mdx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-docusaurus-${{ hashFiles('**/package-lock.json') }}-
${{ runner.os }}-docusaurus-
- run: npm ci
- name: Lint 🧶
run: npm run lint
- name: Build 🏗️
run: npm run build
# Build is separate deployment on develop branch
if: ${{ github.ref != 'refs/heads/develop' }}