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

Commit 1e17b34

Browse files
committed
Add aptos to publishing workflow
1 parent 21d4b66 commit 1e17b34

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,22 @@ jobs:
3737
env:
3838
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3939
working-directory: "pyth-evm-js"
40+
publish-pyth-aptos-js:
41+
name: Publish Pyth Aptos JS
42+
if: ${{ startsWith(github.ref, 'refs/tags/pyth-aptos-js-v') }}
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v2
46+
- uses: actions/setup-node@v2
47+
with:
48+
node-version: "16"
49+
registry-url: "https://registry.npmjs.org"
50+
- run: npm ci
51+
working-directory: "pyth-aptos-js"
52+
- run: npm publish --access public
53+
env:
54+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
55+
working-directory: "pyth-aptos-js"
4056
publish-pyth-terra-js:
4157
name: Publish Pyth Common JS
4258
if: ${{ startsWith(github.ref, 'refs/tags/pyth-terra-js-v') }}

0 commit comments

Comments
 (0)