Piped/.github/workflows/ci.yml

27 lines
638 B
YAML
Raw Normal View History

name: Build and Lint
on:
2021-12-28 19:39:02 +00:00
pull_request:
push:
jobs:
2021-12-28 19:39:02 +00:00
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-05-05 01:19:54 +00:00
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
2021-12-28 19:39:02 +00:00
- name: Setup Node.js
2022-09-10 18:50:54 +00:00
uses: actions/setup-node@v3
2021-12-28 19:39:02 +00:00
with:
2023-05-05 01:19:54 +00:00
cache: "pnpm"
- run: pnpm install
- run: pnpm build
2023-08-27 15:22:42 +00:00
- uses: actions/upload-artifact@v3
with:
name: build
path: dist
2023-05-05 01:19:54 +00:00
- run: pnpm lint --no-fix