FAQ | This is a LIVE service | Changelog

Skip to content

feat(ci): add publish_test & rename install_deps to build job

E. Evstafiev requested to merge fix-publish-dist into main

Hotfix: Ensure dist folder inclusion in npm package and improve CI pipeline

This MR addresses the issue where the dist folder was missing in the previously published npm package (v0.1.2). The following changes have been made:

  • Modified .gitlab-ci.yml:
    • Added caching for the dist/ directory.
    • Rename install_dependencies job to build.
    • Added a new .publish_script to standardize publishing preparation steps across jobs.
    • Added a new publish_test job to check for version changes and verify the existence of the dist directory before performing a dry run of the publication process.
  • Updated jest.config.cjs to include testPathIgnorePatterns for /dist/ and /node_modules/ directories, ensuring these are not processed during testing.
Edited by E. Evstafiev

Merge request reports

Loading