M1D-M1G: kubernetes, terraform, ci hardening, observability #10
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: e2e | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| full-stack: | |
| name: scripts/e2e.sh | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-unknown-unknown | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: foundry-rs/foundry-toolchain@v1 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - name: install wasm-pack | |
| run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
| - name: forge install | |
| working-directory: contracts | |
| run: | | |
| if [ ! -d lib/forge-std ]; then | |
| forge install foundry-rs/forge-std --no-commit | |
| forge install OpenZeppelin/openzeppelin-contracts@release-v5.0 --no-commit | |
| forge install Vectorized/solady --no-commit | |
| fi | |
| - name: pnpm install | |
| run: pnpm install --frozen-lockfile | |
| - name: e2e | |
| run: bash scripts/e2e.sh |