-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (43 loc) · 1.13 KB
/
build-packages-web-forms.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Build Web Forms Package
on:
workflow_dispatch:
push:
branches:
- main
- develop
paths:
- '.github/workflows/build-packages-web-forms.yml'
- 'packages/web/ui/**'
- 'packages/web/forms/**'
- 'packages/config/eslint/**'
- 'packages/config/tsconfig/**'
pull_request:
branches:
- main
- develop
paths:
- '.github/workflows/build-packages-web-forms.yml'
- 'packages/web/ui/**'
- 'packages/web/forms/**'
- 'packages/config/eslint/**'
- 'packages/config/tsconfig/**'
jobs:
build:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/[email protected]
with:
version: 7.9.5
- name: Install dependencies
run: pnpm --filter @acme/web-forms install
- name: Lint
run: pnpm --filter @acme/web-forms lint