Skip to content

feat: implement server-action-results #2

feat: implement server-action-results

feat: implement server-action-results #2

Workflow file for this run

name: Lint & Test
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint-and-test:
name: Lint & Test
runs-on: ubuntu-latest
defaults:
run:
shell: nix develop --command bash {0}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install nix
uses: nixbuild/nix-quick-install-action@v25
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: |
pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test
- name: Check format
run: pnpm format:check