Skip to content

Commit 0505a23

Browse files
authored
Merge pull request #29 from QuantForgeOrg/optimization/transpiler-statement-hoisting
Optimization/transpiler statement hoisting
2 parents 7d9d59b + 60be437 commit 0505a23

File tree

80 files changed

+73704
-4275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+73704
-4275
lines changed

.github/badges/coverage.svg

Lines changed: 20 additions & 0 deletions
Loading

.github/workflows/release.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ jobs:
2424
- name: Install dependencies
2525
run: npm ci
2626

27-
- name: Run tests with coverage
28-
run: npx vitest run --coverage
29-
30-
- name: Generate Coverage Badge
31-
run: npx coverage-badge -o coverage.svg
32-
3327
- name: Build project
3428
run: npm run build:prod:all
3529

@@ -42,23 +36,3 @@ jobs:
4236
overwrite: true
4337
env:
4438
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
46-
- name: Update Coverage Badge in Repo
47-
if: success()
48-
run: |
49-
git config --global user.name "github-actions[bot]"
50-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
51-
52-
# Fetch and checkout the default branch (trying main, falling back to master)
53-
git fetch origin main:main || git fetch origin master:master
54-
BRANCH=$(git show-ref --verify --quiet refs/heads/main && echo "main" || echo "master")
55-
git checkout $BRANCH
56-
57-
# Move badge to correct location
58-
mkdir -p .github/badges
59-
mv coverage.svg .github/badges/coverage.svg
60-
61-
# Commit and push
62-
git add .github/badges/coverage.svg
63-
git commit -m "docs: update coverage badge [skip ci]" || echo "No changes to commit"
64-
git push origin $BRANCH

0 commit comments

Comments
 (0)