This GitHub Actions workflow initializes, lints, tests, and publishes the is.js project.
This GitHub action will run under the following circumstances:
- When code is pushed to a base branch.
- When a pull request is opened, new commits are pushed, or re-opened.
- On a workflow dispatch event, a manual CI run which can be triggered by the "Workflow Dispatch" button on the "Actions" tab of the GitHub repository, among other means.
There are currently no user-defined inputs for this pipeline, aside from the source code itself.
This workflow performs the following steps on GitHub runners:
- Attach Documentation
- Checkout this repo with no submodules.
- Attach an annotation to the GitHub Actions build summary page containing CI documentation.
- is.js - nodeJS v
𝕟This is a matrix job where
𝕟is a set of supportednodeLTS major versions given by thenode-versionarray inci.yml. The following steps are run against eachnodeversion in the array:- Checkout this repo.
- Setup nodeJS using the specified version.
- Initialize the project using
yarn. - Lint.
- Unit tests.
- Run the build.
- Pack build metadata.
- Generate the distributable.
- Validate the distributable can be successfully installed by
npm. - If this
nodeversion matches the one in.nvmrc, publish to NPM.
- Upload artifacts.
Besides the exit status, the following is generated.
- A
*.tgzfile for eachnodeversion containing theis.jsproject.
For assistance with the CI system, please open an issue in this repo.
Legal Notice
This repo contains assets created in collaboration with a large language model, machine learning algorithm, or weak artificial intelligence (AI). This notice is required in some countries.