forked from bloom-housing/bloom
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 986 Bytes
/
unit_tests_sites_partners.yml
File metadata and controls
41 lines (33 loc) · 986 Bytes
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
name: Partners Unit
on:
pull_request:
branches:
- main
paths-ignore:
- 'infra/**'
jobs:
partners-unit:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 22
- name: yarn in root dir
run: yarn
# Rerun yarn in each app.
# It may seem unnecessary but there are some complex yarn package
# versioning dependencies here, so best to run to be safe.
# See https://github.com/bloom-housing/bloom/issues/3217#issuecomment-1430301029
# for more context.
- name: yarn in sites/public dir
working-directory: ./sites/public
run: yarn
- name: yarn in sites/partners dir
working-directory: ./sites/partners
run: yarn
# Tests
- name: yarn unit test sites/partners
run: yarn test:app:partners:unit