@nosto/nosto-cli 1.2.1 → 1.2.3

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.
@@ -18,6 +18,9 @@ jobs:
18
18
  - name: Install dependencies
19
19
  run: npm ci
20
20
 
21
+ - name: Audit dependencies
22
+ run: npm audit --audit-level=high
23
+
21
24
  - name: Run linting
22
25
  run: npm run lint
23
26
 
@@ -35,6 +38,9 @@ jobs:
35
38
  - name: Install dependencies
36
39
  run: npm ci
37
40
 
41
+ - name: Audit dependencies
42
+ run: npm audit --audit-level=high
43
+
38
44
  - name: Run TypeScript type checking
39
45
  run: npm run type-check
40
46
 
@@ -52,5 +58,8 @@ jobs:
52
58
  - name: Install dependencies
53
59
  run: npm ci
54
60
 
61
+ - name: Audit dependencies
62
+ run: npm audit --audit-level=high
63
+
55
64
  - name: Run tests
56
65
  run: npm run test
@@ -6,6 +6,7 @@ on:
6
6
 
7
7
  permissions:
8
8
  contents: read
9
+ id-token: write
9
10
 
10
11
  # Allow only one concurrent deployment, and wait for the current one to finish
11
12
  concurrency:
@@ -30,13 +31,24 @@ jobs:
30
31
  - name: Install dependencies
31
32
  run: npm ci
32
33
 
34
+ - name: Audit dependencies
35
+ run: npm audit --audit-level=high
36
+
33
37
  - name: Run tests
34
38
  run: npm test
35
39
 
40
+ - name: Create GitHub App Token
41
+ id: app-token
42
+ uses: actions/create-github-app-token@b96fde71c0080358ed6e2d162f11c612c92a97d1
43
+ with:
44
+ app-id: ${{ secrets.APP_ID }}
45
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
46
+
36
47
  - name: Publish project
37
- uses: cycjimmy/semantic-release-action@9cc899c47e6841430bbaedb43de1560a568dfd16 # v5.0.0
48
+ uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
38
49
  id: semantic
39
50
  with:
51
+ semantic_version: 25.0.2
40
52
  extra_plugins: |
41
53
  @semantic-release/changelog
42
54
  @semantic-release/git
@@ -45,5 +57,4 @@ jobs:
45
57
  "main"
46
58
  ]
47
59
  env:
48
- GITHUB_TOKEN: ${{ secrets.RELEASE_PAT_TOKEN }}
49
- NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
60
+ GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosto/nosto-cli",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "main": "./src/index.ts",
5
5
  "bin": {
6
6
  "nosto": "./src/bootstrap.mjs"
@@ -45,7 +45,7 @@
45
45
  "@commitlint/cli": "^20.1.0",
46
46
  "@commitlint/config-conventional": "^20.0.0",
47
47
  "@eslint/js": "^9.37.0",
48
- "@types/node": "^24.7.2",
48
+ "@types/node": "^25.0.2",
49
49
  "@vitest/coverage-v8": "^4.0.6",
50
50
  "@vitest/ui": "^4.0.6",
51
51
  "eslint": "^9.37.0",
@@ -62,5 +62,9 @@
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
65
+ },
66
+ "repository": {
67
+ "type": "git",
68
+ "url": "git+https://github.com/Nosto/nosto-cli"
65
69
  }
66
70
  }