-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.06 KB
/
pr.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
name: Pull Request
on:
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
- 'scripts/**'
permissions:
contents: read
jobs:
ci-algo-ts:
uses: ./.github/workflows/node-ci.yml
with:
node-version: 20.x
run-build: true
audit-script: npm run audit
working-directory: packages/algo-ts
upload-artifact-name: algo-ts
upload-artifact-path: ./packages/algo-ts/dist
ci-algo-ts-testing:
uses: ./.github/workflows/node-ci.yml
needs:
- ci-algo-ts
with:
download-artifact-name: algo-ts
download-artifact-path: ./packages/algo-ts/dist
node-version: 20.x
run-build: true
build-script: npm run build
audit-script: npm run audit
working-directory: packages/algo-ts-testing
# ci-puya-ts:
# uses: ./.github/workflows/node-ci.yml
# needs:
# - ci-algo-ts
# - ci-algo-ts-testing
# with:
# node-version: 20.x
# run-build: true
# build-script: npm run install-local-packages && npm run build
# audit-script: npm run audit