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
uses: actions/setup-node@v4
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
- uses: actions/upload-artifact@v4
2023-08-27 15:22:42 +00:00
with:
name: build
path: dist
2023-05-05 01:19:54 +00:00
- run: pnpm lint --no-fix