Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 083e846

Browse files
committed
Add to build workflow
1 parent 1e17b34 commit 083e846

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,29 @@ jobs:
4444
working-directory: "pyth-evm-js"
4545
- run: npm run build
4646
working-directory: "pyth-evm-js"
47+
build-pyth-aptos-js:
48+
name: Build Pyth Aptos JS
49+
runs-on: ubuntu-latest
50+
strategy:
51+
matrix:
52+
node-version: [14.x, 16.x, 18.x]
53+
steps:
54+
- uses: actions/checkout@v2
55+
with:
56+
persist-credentials: false
57+
# This step is required for npm 14 to work for installing this
58+
- name: Reconfigure git to use HTTP authentication
59+
run: >
60+
git config --global url."https://github.com/".insteadOf
61+
62+
- name: Use Node.js ${{ matrix.node-version }}
63+
uses: actions/setup-node@v2
64+
with:
65+
node-version: ${{ matrix.node-version }}
66+
- run: npm ci
67+
working-directory: "pyth-aptos-js"
68+
- run: npm run build
69+
working-directory: "pyth-aptos-js"
4770
build-pyth-terra-js:
4871
name: Build Pyth Common JS
4972
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)