Skip to content

hyoo-ru/mam_build

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build MAM

GitHub Action to build MAM based project.

Inputs

token

Required Github personal access token.

package

Required Path to your package in global MAM scope.

modules

Optional Paths to your modules that you want to build reative to package. By default builds package as module.

meta

Optional Paths to dependent module and namespace repositories. They will be loaded before build.

Example usage

    - name: Build app
      uses: hyoo-ru/mam_build@master2
      with:
        package: 'piterjs'
        modules: 'app intro'

Two modules $piterjs_app and $piterjs_intro will be built.

    - name: Build app
      uses: hyoo-ru/mam_build@master2
      with:
        package: 'piterjs/app'

The $piterjs_app module will be built.

    - name: Build app
      uses: hyoo-ru/mam_build@master2
      with:
        token: ${{ secrets.GH_PAT }}
        package: 'my/counter'
        meta: |
          my https://github.com/githubuser/mam_my

The $my_counter module will be built. Before the build, the repository https://github.com/githubuser/mam_my will be cloned at the path mam/my, which contains my.meta.tree. It contains links to modules used by $my_counter.

Full workflow example

Build with publish to NPM

More examples