mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-25 15:07:21 +00:00
27 lines
638 B
YAML
27 lines
638 B
YAML
name: Build and Lint
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v2
|
|
with:
|
|
version: latest
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
cache: "pnpm"
|
|
- run: pnpm install
|
|
- run: pnpm build
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: build
|
|
path: dist
|
|
- run: pnpm lint --no-fix
|