test: add more unit tests at utils #200
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: Test static build on IPFS | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- v2 | |
jobs: | |
static-build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.CHARTING_ACCESS_TOKEN }} | |
- name: Cache for Turbo | |
uses: rharkor/[email protected] | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.18.2 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Set environment variables | |
run: pnpm setenv:bartio | |
- name: Build all projects | |
env: | |
PERPS_OCT_KEY: ${{ secrets.PERPS_OCT_KEY }} | |
CHARTING_ACCESS_TOKEN: ${{ secrets.CHARTING_ACCESS_TOKEN }} | |
NODE_OPTIONS: "--max_old_space_size=8192" | |
run: NEXT_PUBLIC_HOST="ipfs" pnpm run build --filter='!berajs-docs' --filter='!storybook' | |