chore(deps): bump @docusaurus/preset-classic from 3.5.2 to 3.7.0 #37
This file contains 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: Relayer | |
on: | |
push: | |
branches: [dev] | |
pull_request: | |
env: | |
RELAYER_RPC_URL: "http://localhost:8545" | |
TTL: ${{ vars.RELAYER_TTL }} | |
LIMIT: ${{ vars.RELAYER_LIMIT }} | |
MONGO_DB_URI: ${{ secrets.RELAYER_MONGO_DB_URI }} | |
MONGODB_USER: ${{ secrets.MONGODB_USER }} | |
MONGODB_PASSWORD: ${{ secrets.MONGODB_PASSWORD }} | |
MONGODB_DATABASE: ${{ secrets.MONGODB_DATABASE }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Install | |
run: | | |
pnpm install --frozen-lockfile --prefer-offline | |
- name: Build | |
run: | | |
pnpm run build | |
- name: Run hardhat | |
run: | | |
pnpm run hardhat & | |
sleep 5 | |
working-directory: apps/relayer | |
- name: Test | |
run: pnpm run test:coverage | |
working-directory: apps/relayer | |
- name: Stop Hardhat | |
if: always() | |
run: kill $(lsof -t -i:8545) |