Skip to content

Merge pull request #1 from planetarium/applied-jwt-rpc-node #19

Merge pull request #1 from planetarium/applied-jwt-rpc-node

Merge pull request #1 from planetarium/applied-jwt-rpc-node #19

Workflow file for this run

name: build bsc bridge
on:
push:
paths:
- bridge/**/*
pull_request:
paths:
- bridge/**/*
jobs:
build-bridge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: actions/cache@v2
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