Piped/.github/workflows/ci.yml

29 lines
695 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-09-12 11:12:29 +00:00
with:
submodules: 'true'
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