mirror of
https://github.com/plume-sig/zk-nullifier-sig.git
synced 2026-01-11 05:48:05 -05:00
* chore: clean up - [x] Add checks for ci actions - [x] Run prettier, clippy, fmt commands for all the files - [x] Move circom circuits to a circom folder - [x] Get rid of js var statements * chore: add resolver version for cargo.toml * chore: add circom tests * chore: optimize check triggers * chore: remove `check` command * chore: use only `pnpm` * chore: update readme --------- Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
42 lines
827 B
YAML
42 lines
827 B
YAML
name: Javascript checks
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
branches: [main]
|
|
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
checks:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node-version: [18]
|
|
command: ["prettier", "types", "test:coverage"]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: pnpm/action-setup@v2
|
|
with:
|
|
version: latest
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Check javascript
|
|
run: |
|
|
pnpm install --no-frozen-lockfile --prefer-offline
|
|
pnpm run build
|
|
pnpm run ${{ matrix.command }}
|
|
working-directory: "./javascript"
|