"Builds" a JS GitHub Action into a dist/index.js
using @vercel/ncc
The GitHub token used to authenticate with GitHub.
Required
Path to main js file which will be used to generated dist/index.js
. Default value is ./index.js
.
- name: Compile Node.js module into a single file
uses: gps/ncc-gha@master
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAIN_FILLE_PATH: ./main.js