Skip to content
file-plus

GitHub Action

React Admin Enterprise Edition Action

v1.0.0 Latest version

React Admin Enterprise Edition Action

file-plus

React Admin Enterprise Edition Action

Set up your CI to install EE packages

Installation

Copy and paste the following snippet into your .yml file.

              

- name: React Admin Enterprise Edition Action

uses: react-admin/[email protected]

Learn more about this action in react-admin/ra-enterprise-action

Choose a version

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/[email protected]
        env:
          RA_EE_CI_TOKEN: ${{secrets.RA_EE_CI_TOKEN}}
      - name: NPM install
        run: npm install