diff --git a/.github/workflows/ubuntu-node.js.yml b/.github/workflows/ubuntu-node.js.yml index abac7d5..790f14d 100644 --- a/.github/workflows/ubuntu-node.js.yml +++ b/.github/workflows/ubuntu-node.js.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - name: Node.js CI on: @@ -21,11 +18,16 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: npm test + + - name: Workaround to create TTY + run: | + npm install + npm run build --if-present + script -q -c "npm test" +