Use median of recent priority fees and add max cap to Solana txns fee calculation #539
Workflow file for this run
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: Huma Monorepo CI | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: ['develop', 'master', 'v2'] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.13.0 | |
cache: 'yarn' | |
- name: Cache Yarn dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/yarn | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install | |
- name: Lint all | |
run: yarn lint:all | |
- name: Build all | |
run: yarn build:all | |
- name: Unit tests | |
run: yarn test:all | |
- name: Generate docs | |
run: yarn docs:all | |
- name: Check for uncommitted changes | |
run: | | |
# Check for changes after build/docs | |
git diff | |
# git diff --exit-code --quiet || { git status --porcelain; exit 1; } |