How to set environment variable in node.js process when deploying with github action
问题 I am trying to build an CI pipeline for my node.js server using github actions. I just need to solve one issue. I need to set environment variable, so that my node.js server can access the env variable via process.env Below is the github action workflow file. name: Build and Deploy to GKE on: pull_request: branches: - master # Environment variables available to all jobs and steps in this workflow env: ENGINE_API_KEY: ${{ secrets.ENGINE_API_KEY }} jobs: setup-build-publish-deploy: name: Setup,