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