@meltwater/conversations-api-services 1.0.7 → 1.0.8

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.
@@ -0,0 +1,40 @@
1
+ name: Release
2
+ on:
3
+ push:
4
+ branches:
5
+ - main
6
+
7
+ permissions:
8
+ contents: read # for checkout
9
+
10
+ jobs:
11
+ release:
12
+ name: Release
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: write # to be able to publish a GitHub release
16
+ issues: write # to be able to comment on released issues
17
+ pull-requests: write # to be able to comment on released pull requests
18
+ id-token: write # to enable use of OIDC for npm provenance
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v3
22
+ with:
23
+ fetch-depth: 0
24
+ persist-credential: false
25
+ token: ${{ secrets.GH_TOKEN }}
26
+ - name: Setup Node.js
27
+ uses: actions/setup-node@v3
28
+ with:
29
+ node-version: "lts/*"
30
+ - name: NPM Auth Setup
31
+ run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
32
+ - name: Install dependencies
33
+ run: npm clean-install
34
+ - name: Verify signatures
35
+ run: npm audit signatures
36
+ - name: Release
37
+ env:
38
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
40
+ run: npx semantic-release
package/README.md CHANGED
@@ -2,41 +2,10 @@
2
2
 
3
3
  Repository to contain all conversations api services shared across our services
4
4
 
5
- ---
6
-
7
- This section should answer:
8
-
9
- > What is this?
10
-
11
- Adding visuals to this project description will make your project more memorable and the README easier to understand.
12
-
13
- Great examples:
14
-
15
- - [meltwater/contact-source-service](https://github.com/meltwater/contact-source-service) - _It is the backend behind the Influencers application used by Meltwater customers. It provides sources/contacts management and search capabilities._
16
- - [release-it/release-it](https://github.com/release-it/release-it) - _‌Generic CLI tool to automate versioning and package publishing related tasks_
17
-
18
- ## Product / Business Purpose
19
-
20
- An explanation of the business purpose of this repo, e.g. the Meltwater Product that this ties into. This section should answer:
21
-
22
- > Why does this exist?
23
-
24
- Great examples:
25
-
26
- - [meltwater/chat-message-integration](https://github.com/meltwater/chat-message-integration) _The chat-message-integration project is the API that is used to configure and handle messages for Slack and Teams integrations in the MI App._
27
- - [meltwater/explore-compare-service](https://github.com/meltwater/explore-compare-service) - _Compares in Explorer allow users to run several saved queries at the same time and do a comparison._
28
-
29
5
  ## Maintainers
30
6
 
31
- Meltwater's current ownership model assumes that every piece of software running in Production is owned by a team. This section should answer:
32
-
33
- > Who owns this?
34
- > Who to contact for help?
35
-
36
- Example:
37
-
38
- > Maintained by TEAM_NAME (TEAM_EMAIL_ADDRESS@meltwater.com).
39
- > Contact us via #TEAM_SLACK_CHANNEL in Slack.
7
+ > Maintained by Phoenix (phoenix@meltwater.com).
8
+ > Contact us via #eng-team-phoenix in Slack.
40
9
 
41
10
  ## Contributing
42
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meltwater/conversations-api-services",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Repository to contain all conversations api services shared across our services",
5
5
  "type": "module",
6
6
  "main": "src/data-access/index.js",