Skip to content

Refactor GitHub Actions Workflows for Improved CI/CD Performance #2

Refactor GitHub Actions Workflows for Improved CI/CD Performance

Refactor GitHub Actions Workflows for Improved CI/CD Performance #2

Workflow file for this run

name: Run unit tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch: {}
jobs:
Build-And-Test-Server:
timeout-minutes: 210
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Build o1js and execute tests
env:
TEST_TYPE: ${{ matrix.test_type }}
continue-on-error: false
run: |
git submodule update --init --recursive
npm ci
npm run build
npm run test:unit
touch profiling.md
cat profiling.md >> $GITHUB_STEP_SUMMARY