From 15c6421d0f63a4e90d9c7943f7cbf209fde56e6e Mon Sep 17 00:00:00 2001 From: Efrem Ropelato Date: Tue, 19 Nov 2024 22:08:16 +0100 Subject: [PATCH] fix action --- .github/workflows/node.js.yml | 15 ++++++++------- package.json | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 9bdd6f7..21bc80f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -27,14 +27,14 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: | - sudo apt-get -y update + sudo apt-get -y update sudo apt-get -y install build-essential software-properties-common gcc gdb make - - run: | + - run: | git clone https://github.com/crossdb-org/crossdb.git cd crossdb make build sudo make install - cd .. + cd .. rm -rfv crossdb - run: npm ci - run: npm run build --if-present @@ -50,17 +50,18 @@ jobs: node-version: 20 registry-url: https://registry.npmjs.org/ - run: | - sudo apt-get -y update + sudo apt-get -y update sudo apt-get -y install build-essential software-properties-common gcc gdb make - - run: | + - run: | git clone https://github.com/crossdb-org/crossdb.git cd crossdb make build sudo make install - cd .. + cd .. + rm -rfv croosdb - run: npm ci - run: npm run build --if-present - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} - + diff --git a/package.json b/package.json index 02ab79f..f0430ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@croosdb/crossdb-nodejs", - "version": "1.2.3", + "version": "1.2.4", "main": "index.js", "author": "Efrem Ropelato", "contributors":[