This action is used to build Node.js projects.
Author: Patryk Walus (patryk.walus@vaimo.com)
- v2
- Added configurable package manager support (npm, yarn, pnpm).
package-managerinput is now required.
- v1
- Build action for Node.js projects (yarn only).
- name: Build Node.js Project
uses: vaimo/action-node-build@v2
with:
# Package manager to use. Supported values: npm, yarn, pnpm. (Required)
package-manager: yarn
# Environment variables as a string (Optional)
# If specified, the action will create a .env file in the project root.
env-vars: ${{ secrets.ENV_VARS }}