Skip to content

WarnerMedia/Rules-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Rules-Engine

Kotlin package TypeScript package Qodana

This repository contains the Kotlin and TypeScript implementaions of Rules-Engine

To learn more about the individual implementations:

Using the implementations

The Rules Engine implementations are published to GitHub Packages. Therefore, an additional step is required to allow any project to be able to download the Kotlin/TypeScript implementations locally

Setup GitHub Packages using the using the attached link

Once the PAT (personal access token) is generated with packages:read, update the .zshrc, .bashrc, or the default shell with the following:

export GITHUB_ACTOR="github-username"
export GITHUB_TOKEN="generated-personal-access-token"

The following will allow installing packages from GitHub Package registry

Note: GITHUB_ACTOR and GITHUB_TOKEN are already present in GitHub Actions. The above steps are only required to install the packages locally but not during a job running on GitHub Actions

You can pass in the token during CI like the following:

      - run: npm install
        env:
            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

For more information about using GitHub Packages registry, go here

About

Rules Engine implementations in Kotlin and TypeScript

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •