File tree 6 files changed +83
-5904
lines changed
src/components/databrowser/components/display 6 files changed +83
-5904
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - published
7
+
8
+ jobs :
9
+ release :
10
+ name : Release
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout Repo
14
+ uses : actions/checkout@v3
15
+
16
+ - name : Set env
17
+ run : echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
18
+
19
+ - name : Setup Node
20
+ uses : actions/setup-node@v2
21
+ with :
22
+ node-version : 18
23
+
24
+ - name : Set package version
25
+ run : echo $(jq --arg v "${{ env.VERSION }}" '(.version) = $v' package.json) > package.json
26
+
27
+ - name : Setup Bun
28
+ uses : oven-sh/setup-bun@v1
29
+ with :
30
+ bun-version : latest
31
+
32
+ - name : Install dependencies
33
+ run : bun install
34
+
35
+ - name : Build
36
+ run : bun run build
37
+
38
+ - name : Add npm token
39
+ run : echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
40
+
41
+ - name : Publish release candidate
42
+ if : " github.event.release.prerelease"
43
+ run : npm publish --access public --tag=canary
44
+
45
+ - name : Publish
46
+ if : " !github.event.release.prerelease"
47
+ run : npm publish --access public
Original file line number Diff line number Diff line change
1
+ name : Tests
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+
8
+ jobs :
9
+ test :
10
+ runs-on : ubuntu-latest
11
+ concurrency : test
12
+
13
+ name : Tests
14
+ steps :
15
+ - name : Setup repo
16
+ uses : actions/checkout@v3
17
+
18
+ - name : Setup Bun
19
+ uses : oven-sh/setup-bun@v1
20
+ with :
21
+ bun-version : latest
22
+
23
+ - name : Install Dependencies
24
+ run : bun install
25
+
26
+ - name : Run Lint
27
+ run : bun run lint
28
+
29
+ - name : Run Build
30
+ run : bun run build
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @upstash/react-databrowser" ,
3
- "version" : " 0.3.20 " ,
3
+ "version" : " 0.0.0 " ,
4
4
"main" : " ./dist/index.js" ,
5
5
"types" : " ./dist/index.d.ts" ,
6
6
"license" : " MIT" ,
9
9
"access" : " public"
10
10
},
11
11
"bugs" : {
12
- "url" : " https://github.com/upstash/react-ui /issues"
12
+ "url" : " https://github.com/upstash/redis-databrowser /issues"
13
13
},
14
- "homepage" : " https://github.com/upstash/react-ui#readme " ,
14
+ "homepage" : " https://github.com/upstash/redis-databrowser " ,
15
15
"files" : [
16
16
" ./dist/**"
17
17
],
18
- "author" : " Oguzhan Olguncu <oguzhan@upstash.com>" ,
19
18
"scripts" : {
20
19
"build" : " tsup" ,
21
20
"dev" : " vite" ,
You can’t perform that action at this time.
0 commit comments