chore: update momento dependency in examples #315
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Retry Tests | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test-momento-local: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Install Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: Start Momento Local | |
| run: | | |
| docker run --cap-add=NET_ADMIN --rm -d -p 8080:8080 -p 9090:9090 gomomento/momento-local --enable-test-admin | |
| - name: Set script permissions | |
| run: chmod +x ./scripts/build-and-test-package-retry-tests.sh | |
| - name: Build and test with Momento Local | |
| env: | |
| MOMENTO_PORT: 8080 | |
| MOMENTO_ADMIN_PORT: 9090 | |
| run: | | |
| node -v | |
| ./scripts/build-and-test-package-retry-tests.sh | |
| - name: Clean up Docker Container | |
| run: docker rm -f momento-local || true |