diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d62941..dfb3b5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -197,3 +197,31 @@ jobs: name: artifact-npm-binary-distributions path: npm-binary-distributions/*/*.tgz if-no-files-found: "error" + + test-ubuntu: + runs-on: ubuntu-latest + needs: [node, npm-distributions] + # strategy: + # fail-fast: true + # matrix: + # node-version: [18, 20, 22] + steps: + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 + with: + # node-version: ${{ matrix.node-version }} + node-version: "20.10.0" + - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + with: + name: artifact-npm-binary-distributions + path: ./npm-binary-distributions + - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + with: + name: artifact-pkg-node + path: ./node-pkg + - name: Install and test packages + run: | + mkdir test + cd test + npm install ../npm-binary-distributions/linux-x64/*.tgz + npm install ../node-pkg/*.tgz + npx supa-mdx-lint --version