Piped/.github/workflows/ci.yml
2023-09-12 13:12:29 +02:00

29 lines
695 B
YAML

name: Build and Lint
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- uses: actions/upload-artifact@v3
with:
name: build
path: dist
- run: pnpm lint --no-fix