1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 13:50:27 +05:30
Piped/.github/workflows/ci.yml

27 lines
638 B
YAML
Raw Normal View History

name: Build and Lint
on:
2021-12-29 01:09:02 +05:30
pull_request:
push:
jobs:
2021-12-29 01:09:02 +05:30
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-05-05 06:49:54 +05:30
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
2021-12-29 01:09:02 +05:30
- name: Setup Node.js
uses: actions/setup-node@v4
2021-12-29 01:09:02 +05:30
with:
2023-05-05 06:49:54 +05:30
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- uses: actions/upload-artifact@v4
2023-08-27 20:52:42 +05:30
with:
name: build
path: dist
2023-05-05 06:49:54 +05:30
- run: pnpm lint --no-fix