Skip to content

Replace lint-staged with nano-staged #151

Replace lint-staged with nano-staged

Replace lint-staged with nano-staged #151

Workflow file for this run

# This file is part of Share₂Fedi
# https://github.com/kytta/share2fedi
#
# SPDX-FileCopyrightText: © 2023 Nikita Karamov <me@kytta.dev>
# SPDX-License-Identifier: AGPL-3.0-only
name: Check and build
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: "pnpm"
- run: pnpm install
- run: pnpm check
- run: pnpm build