-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 977 Bytes
/
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
name: Test contracts sdk
on: [pull_request]
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
RUST_BACKTRACE: full
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.11.0 ]
outputs:
runner: ${{ steps.branch.outputs.runner }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.AUTH_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies and authenticate
run: |
npm install
- name: Test sdk
continue-on-error: true
env:
GELATO_KEY: ${{secrets.GELATO_KEY}}
PYTH_SERVICE_ENDPOINT: ${{secrets.PYTH_SERVICE_ENDPOINT}}
PYTH_SERVICE_PASSWORD: ${{secrets.PYTH_SERVICE_PASSWORD}}
PYTH_SERVICE_USERNAME: ${{secrets.PYTH_SERVICE_USERNAME}}
SUBGRAPH_ENDPOINT: ${{secrets.SUBGRAPH_ENDPOINT}}
run: npm run test