@purpleschool/rugpt-lib-common 0.0.70 → 0.0.71-es-add-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,8 +38,8 @@ jobs:
38
38
  echo "should_publish=true" >> $GITHUB_OUTPUT
39
39
  fi
40
40
 
41
- send-already-exists-telegram:
42
- name: Send start Telegram message
41
+ send-already-exists:
42
+ name: Send exists message
43
43
  needs: [check-version]
44
44
  if: needs.check-version.outputs.should_publish == 'false'
45
45
  uses: ./.github/workflows/pachca-notification.yml
@@ -49,8 +49,8 @@ jobs:
49
49
  📝 Текущая версия пакета: **${{ needs.check-version.outputs.version }}**
50
50
  secrets: inherit
51
51
 
52
- send-start-telegram:
53
- name: Send start Telegram message
52
+ send-start:
53
+ name: Send start message
54
54
  needs: [check-version]
55
55
  if: needs.check-version.outputs.should_publish == 'true'
56
56
  uses: ./.github/workflows/pachca-notification.yml
@@ -87,9 +87,17 @@ jobs:
87
87
 
88
88
  - name: Publish package on NPM
89
89
  working-directory: '.'
90
- run: npm publish --access public
90
+ run: |
91
+ if [[ "$VERSION" == *"-"* ]]; then
92
+ TAG="next"
93
+ else
94
+ TAG="latest"
95
+ fi
96
+
97
+ npm publish --tag "$TAG" --access public
91
98
  env:
92
99
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
100
+ VERSION: ${{ needs.check-version.outputs.version }}
93
101
 
94
102
  notify-success:
95
103
  needs: [publish, check-version]
@@ -5,4 +5,5 @@ var LOCALE;
5
5
  (function (LOCALE) {
6
6
  LOCALE["RU"] = "ru";
7
7
  LOCALE["EN"] = "en";
8
+ LOCALE["ES"] = "es";
8
9
  })(LOCALE || (exports.LOCALE = LOCALE = {}));
@@ -1,4 +1,5 @@
1
1
  export enum LOCALE {
2
2
  RU = 'ru',
3
3
  EN = 'en',
4
+ ES = 'es',
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/rugpt-lib-common",
3
- "version": "0.0.70",
3
+ "version": "0.0.71-es-add-test",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",