1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-14 06:10:28 +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@v3
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
2022-09-11 00:20:54 +05:30
uses: actions/setup-node@v3
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
2023-08-27 20:52:42 +05:30
- uses: actions/upload-artifact@v3
with:
name: build
path: dist
2023-05-05 06:49:54 +05:30
- run: pnpm lint --no-fix