This repository has been archived on 2024-05-13. You can view files and clone it, but cannot push or open issues or pull requests.
share2fedi/.github/workflows/check.yml

33 lines
661 B
YAML
Raw Normal View History

2023-09-02 10:17:15 -04:00
# 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
2023-08-30 06:33:22 -04:00
name: Check and build
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-08-30 06:50:57 -04:00
- uses: pnpm/action-setup@v2
with:
version: 8
2024-02-07 08:56:06 -05:00
- name: Use Node.js 18
2023-08-30 06:33:22 -04:00
uses: actions/setup-node@v3
with:
2024-02-07 08:56:06 -05:00
node-version: "^18.17.0"
2023-08-30 06:33:22 -04:00
cache: "pnpm"
- run: pnpm install
- run: pnpm check
- run: pnpm build