Update lint configurations (#91) #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is part of Share₂Fedi | |
# https://github.com/kytta/share2fedi | |
# | |
# SPDX-FileCopyrightText: © 2023 Nikita Karamov <[email protected]> | |
# 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 |