From edf513696e15b69bc11d869ba3fb68c5777261be Mon Sep 17 00:00:00 2001 From: Ingo Fischer Date: Wed, 3 Jul 2024 00:14:00 +0200 Subject: [PATCH] gha --- .github/workflows/test-and-release.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index fedcab2..f24f78d 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 @@ -34,9 +34,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Install Dependencies run: npm ci + - name: Build project + run: npm run build # Runs adapter tests on all supported node versions and OSes lib-tests: @@ -59,6 +60,8 @@ jobs: - name: Install Dependencies run: npm ci + - name: Build project + run: npm run build # - name: Run local tests # run: npm test @@ -105,9 +108,10 @@ jobs: - name: Install Dependencies run: npm ci - #Automatically generate binaries for Win/MacOS/Linux - - name: Create Tokensaver binaries - run: npm run build-tokensaver + + - name: Build project + run: npm run build + - name: Publish package to npm run: | npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}