FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

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

Merged 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Sebastiaan ten Pas
  • E. Evstafiev added 3 commits

    added 3 commits

    • 8a8e9fbc - fix(ci): add build command to install_dependencies job
    • b241f0b1 - fix(tests): add dist and node_modules to testPathIgnorePatterns
    • c73a87bb - docs: update CHANGELOG.md

    Compare with previous version

  • E. Evstafiev added 3 commits

    added 3 commits

    • 48abdce6 - feat(ci): add publish_test & remove install_deps job
    • 17cae4e1 - fix(tests): add dist and node_modules to testPathIgnorePatterns
    • 55033325 - docs: update CHANGELOG.md

    Compare with previous version

  • E. Evstafiev added 1 commit

    added 1 commit

    Compare with previous version

  • E. Evstafiev changed title from fix(ci): add build command to install_dependencies job to feat(ci): add publish_test & remove install_deps job

    changed title from fix(ci): add build command to install_dependencies job to feat(ci): add publish_test & remove install_deps job

  • E. Evstafiev changed the description

    changed the description

  • E. Evstafiev marked this merge request as draft

    marked this merge request as draft

  • E. Evstafiev added 3 commits

    added 3 commits

    • 273998a0 - feat(ci): add publish_test & rename install_deps to build job
    • d941cb9a - fix(tests): add dist and node_modules to testPathIgnorePatterns
    • e795b5f8 - docs: update CHANGELOG.md

    Compare with previous version

  • E. Evstafiev marked this merge request as ready

    marked this merge request as ready

  • E. Evstafiev changed title from Draft: feat(ci): add publish_test & remove install_deps job to feat(ci): add publish_test & rename install_deps to build job

    changed title from Draft: feat(ci): add publish_test & remove install_deps job to feat(ci): add publish_test & rename install_deps to build job

  • E. Evstafiev changed the description

    changed the description

  • E. Evstafiev added 1 commit

    added 1 commit

    • 35d83814 - feat(ci): restrict `publish_test` job to `main` branch

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading