sqs-consumer 8.1.0 → 8.1.1

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,30 @@
1
+ name: Publish Package to npmjs
2
+ on:
3
+ release:
4
+ types: [created]
5
+ workflow_dispatch:
6
+ inputs:
7
+ releaseType:
8
+ description: stable or canary?
9
+ required: true
10
+ type: choice
11
+ options:
12
+ - canary
13
+ - stable
14
+ jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ contents: read
19
+ id-token: write
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: actions/setup-node@v4
23
+ with:
24
+ node-version: '20.x'
25
+ cache: 'npm'
26
+ registry-url: 'https://registry.npmjs.org'
27
+ - run: npm ci
28
+ - run: npm publish --provenance --access public --tag ${{ github.event.inputs.releaseType || 'canary' }}
29
+ env:
30
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sqs-consumer",
3
- "version": "8.1.0",
3
+ "version": "8.1.1",
4
4
  "description": "Build SQS-based Node applications without the boilerplate",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",
31
- "url": "https://github.com/bbc/sqs-consumer.git"
31
+ "url": "git+https://github.com/bbc/sqs-consumer.git"
32
32
  },
33
33
  "bugs": {
34
34
  "url": "https://github.com/bbc/sqs-consumer/issues"