From 7e8670d9a026e84420ddcd186547b8e81d842fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Levente=20T=C3=B3th?= Date: Wed, 2 Oct 2024 21:21:01 +0200 Subject: [PATCH] refactor: ci --- .github/workflows/check.yaml | 2 +- .github/workflows/publish_npmjs.yaml | 2 +- .github/workflows/test.yaml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 484d081..3b2b236 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/publish_npmjs.yaml b/.github/workflows/publish_npmjs.yaml index 3f62b90..ed8317b 100644 --- a/.github/workflows/publish_npmjs.yaml +++ b/.github/workflows/publish_npmjs.yaml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 22 registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm publish --access public diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ef6010d..a9a6135 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -47,5 +47,7 @@ jobs: - name: Install npm deps if: steps.cache-npm.outputs.cache-hit != 'true' run: npm ci && npm ci && npm install -g @fairdatasociety/fdp-play + - name: Run FDP Play + run: npx fdp-play start --workers $WORKERS -d - name: Run tests run: npm run test