Skip to content

Commit 711d712

Browse files
committed
fix arcgis service
1 parent 7bc6438 commit 711d712

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/build_test.arcgis.service.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
- .github/workflows/build_test.arcgis.service.yaml
99
- .github/workflows/config.yaml
1010
- plugins/arcgis/service/**
11+
pull_request:
12+
paths:
13+
- .github/workflows/build_test.arcgis.service.yaml
14+
- .github/workflows/config.yaml
15+
- plugins/arcgis/service/**
1116

1217
jobs:
1318
config:
@@ -26,7 +31,7 @@ jobs:
2631
- name: setup node
2732
uses: actions/setup-node@v3
2833
with:
29-
node-version: 20
34+
node-version: ${{ matrix.node }}
3035
cache: npm
3136
cache-dependency-path: |
3237
plugins/arcgis/service/package-lock.json
@@ -35,7 +40,7 @@ jobs:
3540
cd service
3641
npm ci
3742
npm run build
38-
- name: test with node 20
43+
- name: test with node ${{ matrix.node }}
3944
run: |
4045
cd plugins/arcgis/service
4146
npm ci
@@ -56,13 +61,18 @@ jobs:
5661
cache: npm
5762
cache-dependency-path: |
5863
plugins/arcgis/service/package-lock.json
59-
- name: build
64+
- name: build mage service
65+
run: |
66+
cd service
67+
npm ci
68+
npm run build
69+
- name: build service for plugin
6070
run: |
6171
cd plugins/arcgis/service
6272
npm ci
6373
npm link ../../../service
6474
npm run build
65-
- name: pack
75+
- name: package for plugin
6676
run: npm pack ./plugins/arcgis/service
6777
- name: upload package
6878
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)