Skip to content
Snippets Groups Projects
Commit b36987c1 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

fix: Setup semantic-release.

parent c865538c
No related branches found
No related tags found
No related merge requests found
Pipeline #328041 failed
stages:
- build
- docs
- publish
- code-intelligence
workflow:
rules:
- if: $CI_COMMIT_BRANCH
build-lib:
image: node:20
stage: build
before_script:
- yarn install
script:
- yarn build
tags:
- docker
artifacts:
paths:
- lib/*
- esm/*
needs: []
publish:
image: node:20
stage: publish
before_script:
- yarn install
script:
- yarn semantic-release
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- .npm/
tags:
- docker
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /chore(release)$/
needs:
- job: build-lib
artifacts: true
code-navigation:
image: git.zsinfo.nl:5010/zandor300/docker-lsif
stage: code-intelligence
script:
- lsif-tsc src/**/* --AllowJs --checkJs
tags:
- docker
artifacts:
reports:
lsif: dump.lsif
needs: []
{
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/gitlab",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
]
]
}
{
"name": "@aerialist7/react-dates",
"name": "@zandor300/react-dates",
"version": "21.8.1",
"description": "A responsive and accessible date range picker component built with React",
"main": "index.js",
......@@ -73,6 +73,11 @@
"@babel/eslint-parser": "^7.16.5",
"@babel/register": "^7.16.9",
"@babel/runtime": "^7.16.7",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "9.2.6",
"@semantic-release/gitlab": "12.1.1",
"@semantic-release/npm": "11.0.3",
"@storybook/addon-actions": "^5.3.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^5.3.21",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment