Skip to content

Files

Latest commit

 

History

History
 
 

build-publish-alpha-package

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Alpha Package release

Builds project and pushes a new alpha release to NPM

Description

Builds project from specific branch and publishes a new alpha package to NPM.

Uses yarn build:package command to build the package.

Note: @toptal/davinci-engine package should be installed in the project.

Inputs

The list of arguments, that are used in GH Action:

name type required default description
npm-token string NPM token used for publishing. Has to be type Publish
branch string Name of the branch that will be published
root-folder string Root folder of a package to be published
node-version string 20 Node.js version used. The action is guaranteed to work only with Node.js@20 (default value)

Outputs

The list of variables, that are returned by GH Action:

name type description
versions string List of new versions as output of .version file

ENV Variables

Not specified

Usage

  - uses: toptal/davinci-github-actions/[email protected]
    with:
      npm-token: ${{ env.NPM_TOKEN }}
      branch: ${{ github.head_ref }}