From 8e5138bf7eadbc45cb5aafb98d3ed2072689d391 Mon Sep 17 00:00:00 2001 From: Stefan Guggisberg Date: Tue, 29 Oct 2024 13:54:01 +0100 Subject: [PATCH] chore: troubleshooting --- .github/workflows/main.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f7d3888..5e7f42e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -9,13 +9,24 @@ permissions: env: CI_BUILD_NUM: ${{ github.run_id }} CI_BRANCH: ${{ github.ref_name }} - NODE_OPTIONS: --dns-result-order=ipv4first jobs: test: name: Test runs-on: ubuntu-latest steps: + - name: Set NODE_OPTIONS + run: | + # Your logic to generate NODE_OPTIONS + NODE_OPTIONS="--dns-result-order=ipv4first" + + echo "NODE_OPTIONS=${NODE_OPTIONS}" >> $GITHUB_ENV + + - name: Check NODE_OPTIONS + run: | + echo "NODE_OPTIONS: $NODE_OPTIONS" + # Continue with your workflow steps + - uses: actions/checkout@v4 - name: Use Node.js 20.x uses: actions/setup-node@v4