-
Notifications
You must be signed in to change notification settings - Fork 49
67 lines (66 loc) · 2.12 KB
/
test.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Test packages
on: ['pull_request']
jobs:
lint:
name: Prettier formatting and linting check
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install root dependencies
run: yarn
- name: Is formatted and linted
run: yarn lint:check
test:
name: ${{ matrix.package }}
runs-on: ubuntu-latest
defaults:
run:
shell: bash
strategy:
matrix:
package: [
# 'vendure-plugin-coinbase',
'vendure-plugin-customer-managed-groups',
# 'vendure-plugin-dutch-postalcode',
# 'vendure-plugin-e-boekhouden',
# 'vendure-plugin-goedgepickt',
'vendure-plugin-google-cloud-tasks',
'vendure-plugin-google-storage-assets',
# 'vendure-plugin-invoices',
# 'vendure-plugin-myparcel',
'vendure-plugin-webhook',
# 'vendure-plugin-admin-ui-helpers',
# 'vendure-plugin-order-export',
# 'vendure-plugin-shipping-by-weight-and-country',
# 'vendure-plugin-stock-monitoring',
# 'vendure-plugin-sendcloud',
# 'vendure-plugin-metrics',
# 'vendure-plugin-limit-variant-per-order',
'vendure-plugin-variant-bulk-update',
'vendure-plugin-stripe-subscription',
'vendure-plugin-customer-managed-groups',
'vendure-plugin-picqer',
# 'vendure-plugin-popularity-scores',
'vendure-plugin-modify-customer-orders',
]
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Build test-utils
run: cd packages/test && yarn
- name: Build utils
run: cd packages/util && yarn
- name: Build
run: cd packages/${{ matrix.package }} && yarn && yarn build
- name: Test
run: cd packages/${{ matrix.package }} && yarn test