Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
os:
- ubuntu-latest
node_version:
- 25
- 24
- 18
- 20
- 22
Expand All @@ -62,4 +64,9 @@ jobs:
- name: run build
run: npm run build
- name: run test
run: npm test
run: |
if [ "${{ matrix.node_version }}" = "25" ]; then
npm test -- --coverage
else
npm test
fi
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
- Fix tl-b grammar to support case from block.tlb and boc.tlb
- Fix tl-b grammar to support math expressions [issues #121](https://github.com/ton-community/tlb-parser/issues/121)
- Fix tl-b grammar use a Nat field in an expression [issues #120](https://github.com/ton-community/tlb-parser/issues/120)
- Fix tl-b grammar can use ref in expression
- Fix tl-b grammar constructor name may contain a comma

### Chore

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# tlb-parser

[![npm @ton-community/tlb-parser version](https://img.shields.io/npm/v/@ton-community/tlb-parser)](https://www.npmjs.com/package/@ton-community/tlb-parser)
[![qa](https://github.com/ton-community/tlb-parser/actions/workflows/qa.yml/badge.svg)](https://github.com/ton-community/tlb-parser/actions/workflows/qa.yml)

## Installation

```bash
Expand Down
5 changes: 0 additions & 5 deletions jest.config.js

This file was deleted.

21 changes: 21 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { Config } from 'jest';

const config: Config = {
preset: 'ts-jest',
testEnvironment: 'node',
roots: ['<rootDir>/tests'],
verbose: true,
silent: false,
coverageThreshold: {
global: {
statements: 100,
branches: 100,
functions: 100,
lines: 100,
},
},
coveragePathIgnorePatterns: ['tests/', 'src/index.ts'],
coverageReporters: ['json-summary', 'text', 'lcov'],
};

export default config;
Loading