Skip to content

Commit

Permalink
Merge pull request #2 from luiz-lvj/groth16_parser
Browse files Browse the repository at this point in the history
removing unnecessary functions and adding node workflow
  • Loading branch information
luiz-lvj authored Sep 30, 2024
2 parents 9df8350 + d4d7d79 commit dac43d7
Show file tree
Hide file tree
Showing 20 changed files with 61 additions and 2,083 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: NODE

on:
push:
branches:
- main
- master
tags:
- '*'
pull_request:
workflow_dispatch:

jobs:
npm-test:
name: NPM Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Run npm test in garaga_ts
working-directory: tools/npm/garaga_ts
run: |
npm ci
npm test
4 changes: 2 additions & 2 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
working-directory: tools/npm/garaga_ts
run: |
docker compose up --build --exit-code-from app
git status --porcelain | grep -v 'src/wasm/pkg/' || true
[[ -z $(git status --porcelain | grep -v 'src/wasm/pkg/') ]]
git status --porcelain
[[ -z $(git status --porcelain ) ]]
- name: Upload package file as artifact
uses: actions/upload-artifact@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ repos:
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: ^tools/npm/garaga_ts/src/wasm/pkg/
- id: end-of-file-fixer
exclude: \.cairo$
exclude: (\.cairo$|^tools/npm/garaga_ts/src/wasm/pkg/)
- id: check-yaml
- id: check-toml
- repo: https://github.com/psf/black
Expand Down
1 change: 1 addition & 0 deletions tools/npm/garaga_ts/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules
/dist
/*.tgz
/coverage
506 changes: 0 additions & 506 deletions tools/npm/garaga_ts/coverage/clover.xml

This file was deleted.

224 changes: 0 additions & 224 deletions tools/npm/garaga_ts/coverage/lcov-report/base.css

This file was deleted.

87 changes: 0 additions & 87 deletions tools/npm/garaga_ts/coverage/lcov-report/block-navigation.js

This file was deleted.

Binary file removed tools/npm/garaga_ts/coverage/lcov-report/favicon.png
Binary file not shown.
1 change: 0 additions & 1 deletion tools/npm/garaga_ts/coverage/lcov-report/prettify.css

This file was deleted.

2 changes: 0 additions & 2 deletions tools/npm/garaga_ts/coverage/lcov-report/prettify.js

This file was deleted.

Binary file not shown.
Loading

0 comments on commit dac43d7

Please sign in to comment.