Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
2 parents 9f7a12c + 1679a50 commit 0746bca
Show file tree
Hide file tree
Showing 49 changed files with 857 additions and 876 deletions.
41 changes: 31 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

test:
cache-tests:
strategy:
matrix:
node: [18]
name: Test on Node ${{ matrix.node }}
name: Test Cache on Node ${{ matrix.node }}
runs-on: macos-latest
env:
TEST_AUTH_TOKEN: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }}
Expand All @@ -82,22 +82,46 @@ jobs:
node -v
./scripts/test-auth-packages.sh
- name: Run vector tests for packages
- name: Run leaderboard tests for packages
run: |
node -v
./scripts/test-vector-packages.sh
./scripts/test-leaderboard-packages.sh
- name: Run leaderboard tests for packages
vector-tests:
strategy:
matrix:
node: [18]
name: Test MVI on Node ${{ matrix.node }}
runs-on: macos-latest
env:
TEST_AUTH_TOKEN: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }}
TEST_SESSION_TOKEN: ${{ secrets.MOMENTO_PREPROD_SESSION_TOKEN }}
TEST_LEGACY_AUTH_TOKEN: ${{ secrets.ALPHA_LEGACY_TEST_AUTH_TOKEN }}

steps:
- name: Setup repo
uses: actions/checkout@v3

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: Build all packages
run: |
node -v
./scripts/test-leaderboard-packages.sh
./scripts/build-all-packages.sh
- name: Run vector tests for packages
run: |
node -v
./scripts/test-vector-packages.sh
test-examples:
strategy:
matrix:
node: [14, 16, 18]
fail-fast: true
max-parallel: 1
name: Test examples on node ${{ matrix.node }}
runs-on: macos-latest
env:
Expand Down Expand Up @@ -180,7 +204,6 @@ jobs:
matrix:
node: [ 16, 18 ]
fail-fast: true
max-parallel: 1
name: Test web examples on node ${{ matrix.node }}
runs-on: macos-latest
env:
Expand Down Expand Up @@ -236,7 +259,6 @@ jobs:
matrix:
node: [ 16, 18 ]
fail-fast: true
max-parallel: 1
name: Test Deno examples on node ${{ matrix.node }}
runs-on: macos-latest
env:
Expand Down Expand Up @@ -284,7 +306,6 @@ jobs:
matrix:
node: [ 18 ]
fail-fast: true
max-parallel: 1
name: Verify packages are installable on node ${{ matrix.node }}
runs-on: ubuntu-latest

Expand Down
24 changes: 12 additions & 12 deletions examples/cloudflare-workers/web-sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/cloudflare-workers/web-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@gomomento/sdk-core": "^1.40.0",
"@gomomento/sdk-web": "^1.69.0",
"@gomomento/sdk-web": "^1.70.0",
"xhr4sw": "^0.0.5"
}
}
46 changes: 23 additions & 23 deletions examples/nodejs/access-control/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/nodejs/access-control/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"typescript": "4.4.3"
},
"dependencies": {
"@gomomento/sdk": "^1.69.0"
"@gomomento/sdk": "^1.70.0"
}
}
46 changes: 23 additions & 23 deletions examples/nodejs/aws/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/nodejs/aws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
},
"dependencies": {
"@aws-sdk/client-secrets-manager": "^3.370.0",
"@gomomento/sdk": "^1.69.0"
"@gomomento/sdk": "^1.70.0"
}
}
Loading

0 comments on commit 0746bca

Please sign in to comment.