From 9596c86e2c854f9d58b5d88d06fdd503b6d335ce Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Wed, 30 Apr 2025 16:23:10 +0100 Subject: [PATCH] ci: Pass secrets as environment variables to test step --- .github/workflows/node-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 7630781a5..2f99f91d1 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -30,4 +30,12 @@ jobs: run: npm ci # Use ci for faster, more reliable installs in CI - name: Run tests + env: # Add environment variables from GitHub secrets + PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }} + PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }} + PROXMOX_TOKEN_SECRET: ${{ secrets.PROXMOX_TOKEN_SECRET }} + # Add other required primary variables here if needed, e.g.: + # PBS_HOST: ${{ secrets.PBS_HOST }} + # PBS_TOKEN_ID: ${{ secrets.PBS_TOKEN_ID }} + # PBS_TOKEN_SECRET: ${{ secrets.PBS_TOKEN_SECRET }} run: npm test \ No newline at end of file