Skip to content

Module containing commonly used values shared across the ASL project.

License

Notifications You must be signed in to change notification settings

UKHomeOffice/asl-constants-gha-test

 
 

Repository files navigation

asl-constants

Provides a home for any commonly used values shared across the ASL project.

Usage

Authenticate with GitHub packages

Install the package:

npm install @ukhomeoffice/asl-constants --save-prod

Import as necessary:

const { establishmentCountries, establishmentStatuses } = require('@ukhomeoffice/asl-constants');
console.log(establishmentCountries);

result:

[
  'england',
  'scotland',
  'wales',
  'ni'
]

Publishing

This is automatically published to the GitHub packages npm repository using GitHub Actions.

When opening a pull request add a label major, minor or patch (or skip-release) and the version field in package.json will be updated by the pipeline using npm version.

It is published once the pull request is merged if there is no skip-release label on the pull request, the SHA is also tagged with the SemVer value at that point.

About

Module containing commonly used values shared across the ASL project.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 100.0%