File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Preview release
2
+
3
+ permissions :
4
+ pull-requests : write
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - master
10
+ pull_request :
11
+ types : [opened, synchronize, labeled]
12
+
13
+ jobs :
14
+ preview :
15
+ if : >
16
+ github.repository == 'supabase/supabase-js' &&
17
+ (github.event_name == 'push' ||
18
+ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'trigger: preview')))
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Setup Node.js
25
+ uses : actions/setup-node@v4
26
+ with :
27
+ node-version : ' 20'
28
+ cache : ' npm'
29
+
30
+ - name : Install dependencies
31
+ run : npm ci
32
+
33
+ - name : Build
34
+ run : npm run build
35
+
36
+ - run : npx pkg-pr-new@latest publish --compact
Original file line number Diff line number Diff line change 3
3
- ** Documentation:** https://supabase.com/docs/reference/javascript/start
4
4
- TypeDoc: https://supabase.github.io/supabase-js/v2/
5
5
6
+ <div align =" center " >
7
+
8
+ [ ![ pkg.pr.new] ( https://pkg.pr.new/badge/supabase/supabase-js )] ( https://pkg.pr.new/~/supabase/supabase-js )
9
+
10
+ </div >
11
+
6
12
## Usage
7
13
8
14
First of all, you need to install the library:
You can’t perform that action at this time.
0 commit comments