Skip to content

fix: Codeblock, nav styles #475

fix: Codeblock, nav styles

fix: Codeblock, nav styles #475

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '**/.husky'
- 'sanity-cms/**'
- 'express-api/**'
- 'rust-api/**'
- 'elixir-api/**'
concurrency:
group: ci
cancel-in-progress: true
jobs:
lint:
name: Lint check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8.6.0
run_install: false
- name: Use node_modules cache
uses: actions/cache@v3
id: nm-cache
with:
path: 'svelte-app/node_modules'
key: ${{ runner.os }}-npm-${{ hashFiles('svelte-app/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install dependencies
if: steps.nm-cache.outputs.cache-hit != 'true'
run: make install-web
- name: Run lint check
run: make lint
tests:
name: Tests
uses: ./.github/workflows/test.yml
secrets: inherit
deploy:
name: Deploy
needs: [ lint, tests ]
uses: ./.github/workflows/netlify-deploy.yml
secrets: inherit