@xcelera/cli 1.2.0 → 1.2.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.
@@ -68,43 +68,3 @@ jobs:
68
68
  - name: Print Output
69
69
  id: output
70
70
  run: echo "${{ steps.test-action.outputs.status }}"
71
-
72
- - name: Release
73
- env:
74
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
76
- run: npx semantic-release
77
-
78
- release:
79
- name: Release
80
- runs-on: ubuntu-latest
81
- permissions:
82
- contents: write # to be able to publish a GitHub release
83
- issues: write # to be able to comment on released issues
84
- pull-requests: write # to be able to comment on released pull requests
85
- id-token: write # to enable use of OIDC for npm provenance
86
-
87
- steps:
88
- - name: Checkout
89
- uses: actions/checkout@v4
90
- with:
91
- fetch-depth: 0
92
-
93
- - name: Setup Node.js
94
- uses: actions/setup-node@v4
95
- with:
96
- node-version: 'lts/*'
97
-
98
- - name: Install dependencies
99
- run: npm clean-install
100
-
101
- - name:
102
- Verify the integrity of provenance attestations and registry
103
- signatures for installed dependencies
104
- run: npm audit signatures
105
-
106
- - name: Release
107
- env:
108
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
110
- run: npx semantic-release
@@ -0,0 +1,53 @@
1
+ name: Release
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ push:
8
+ branches:
9
+ - main
10
+ workflow_run:
11
+ workflows: [Continuous Integration]
12
+ types: [completed]
13
+
14
+ permissions:
15
+ contents: read
16
+
17
+ jobs:
18
+ release:
19
+ name: Release
20
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
21
+ runs-on: ubuntu-latest
22
+ permissions:
23
+ contents: write # to be able to publish a GitHub release
24
+ issues: write # to be able to comment on released issues
25
+ pull-requests: write # to be able to comment on released pull requests
26
+ id-token: write # to enable use of OIDC for npm provenance
27
+
28
+ steps:
29
+ - name: Checkout
30
+ uses: actions/checkout@v4
31
+ with:
32
+ fetch-depth: 0
33
+
34
+ - name: Setup Node.js
35
+ id: setup-node
36
+ uses: actions/setup-node@v4
37
+ with:
38
+ node-version-file: .node-version
39
+ cache: npm
40
+
41
+ - name: Install dependencies
42
+ run: npm clean-install
43
+
44
+ - name:
45
+ Verify the integrity of provenance attestations and registry
46
+ signatures for installed dependencies
47
+ run: npm audit signatures
48
+
49
+ - name: Release
50
+ env:
51
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
53
+ run: npx semantic-release
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xcelera/cli",
3
3
  "description": "CLI for xcelera.dev",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "author": "",
6
6
  "type": "module",
7
7
  "repository": {