From 2fe50de3841600160c2004ef1e8e2482a78e5709 Mon Sep 17 00:00:00 2001 From: Sergey Nazarov Date: Thu, 9 Apr 2026 13:43:47 +0300 Subject: [PATCH] run tests on PR --- .github/workflows/test.yml | 19 +++++++++++++++++++ package.json | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a6d9944 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Run tests +on: + pull_request: + +permissions: + contents: read +jobs: + run-tests: + name: Run tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f + with: + registry-url: 'https://registry.npmjs.org' + node-version: '>=24.7.0' + - run: npm i + - run: npm test + - run: npm run build diff --git a/package.json b/package.json index 39c2f33..508d977 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "testCommand": "jest", "prepublishOnly": "npm run build", "build": "tsc -p ./tsconfig-cjs.json", - "test": "node-state -e -n -m typescript -o ./test/_state.ts -r" + "test": "node-state -e -n -m typescript -i ghcr.io/wavesplatform/waves-private-node:finality -o ./test/_state.ts -r" }, "repository": { "type": "git",