Skip to content

React Admin Enterprise Edition Action to setup your CI to install EE packages

License

Notifications You must be signed in to change notification settings

react-admin/ra-enterprise-action

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

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

React Admin Enterprise Edition action

This action sets up your package manager (npm or yarn) to use the React Admin Enterprise Edition private registry, which is required to download the private modules.

It works by creating a .npmrc file (or a .yarnrc.yml file if you use Yarn v2 or more) and adding the CI authentication token found on the React Admin Enterprise Edition setup page.

Environnement variable

RA_EE_CI_TOKEN

You need to provide your React Admin Enterprise Edition CI authentication token in the RA_EE_CI_TOKEN environment variable.

Notice: Do not paste it directly in your repository but use Github Encrypted Secrets instead.

Example usage

Create a file: .github/workflows/ra-ee.yml

name: React Admin Enterprise Edition CI token Action
on: [push]

jobs:
  ra_enterprise_action_workflow:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Add React Admin Enterprise Edition CI token
        uses: react-admin/ra-enterprise-action@v1.0.0
        env:
          RA_EE_CI_TOKEN: ${{secrets.RA_EE_CI_TOKEN}}
      - name: NPM install
        run: npm install