feat: serverless Lambda relayer with DynamoDB and live E2E test #393
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: build bridge | |
| on: | |
| push: | |
| paths: | |
| - bridge/**/* | |
| pull_request: | |
| paths: | |
| - bridge/**/* | |
| jobs: | |
| build-bridge: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - run: npm install | |
| working-directory: ./bridge | |
| - run: yarn prettier --check src test | |
| working-directory: ./bridge | |
| - run: npm run build | |
| working-directory: ./bridge | |
| - run: npm run coverage | |
| working-directory: ./bridge | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN}} |