File tree 3 files changed +27
-3
lines changed
3 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 65
65
echo "### No version cut" >> $GITHUB_STEP_SUMMARY
66
66
echo "Check Semantic Release output for details"
67
67
- name : Clean Github Release for RC
68
- if : ${{ contains(steps.semantic.outputs.new_release_version, '-rc.') == false }}
68
+ if : ${{ steps.semantic.outputs.new_release_version != '' && contains(steps.semantic.outputs.new_release_version, '-rc.') == false }}
69
69
run : ./scripts/clean-rc-releases.sh
70
70
env :
71
71
GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 1
- # api
1
+ # Sentio API
2
+
3
+ ## Setup
4
+
5
+ ```
6
+ pnpm add @sentio/api
7
+ ```
8
+
9
+ ## Usage
10
+
11
+ ``` ts
12
+ import { Configuration , WebApi } from " @sentio/api" ;
13
+
14
+
15
+ const config = new Configuration ({
16
+ apiKey: process .env .SENTIO_API_KEY ,
17
+ });
18
+ const api = new WebApi (config );
19
+ const projects = await api .getProjectList ();
20
+ console .log (projects );
21
+ ```
22
+
23
+ ## Documentation
24
+
25
+ [ Sentio API Reference] ( https://docs.sentio.xyz/reference )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ test("getProjectList", async () => {
7
7
assert ( apiKey , "API key can't be found for the test" ) ;
8
8
9
9
const config = new Configuration ( {
10
- apiKey : apiKey ,
10
+ apiKey,
11
11
} ) ;
12
12
const api = new WebApi ( config ) ;
13
13
const projects = await api . getProjectList ( ) ;
You can’t perform that action at this time.
0 commit comments