asl-constants-gha-test 2.12.0
Install from the command line:
Learn more about npm packages
$ npm install @ukhomeoffice/asl-constants-gha-test@2.12.0
Install via package.json:
"@ukhomeoffice/asl-constants-gha-test": "2.12.0"
About this version
Provides a home for any commonly used values shared across the ASL project.
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'
]
fdfsfsdfsf
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.