File tree Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ github : tidev
2
+ liberapay : tidev
Original file line number Diff line number Diff line change
1
+ name : Check CLA
2
+ on :
3
+ - pull_request
4
+
5
+ jobs :
6
+ check-cla :
7
+ runs-on : ubuntu-latest
8
+ name : Verify contributor
9
+
10
+ steps :
11
+ - uses : tidev/tidev-cla-action@v1
12
+ with :
13
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ on :
3
+ release :
4
+ types : [ created ]
5
+
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ name : Publish
10
+
11
+ steps :
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v3
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - name : Setup node
18
+ uses : actions/setup-node@v2
19
+ with :
20
+ node-version : ' 16'
21
+ registry-url : ' https://registry.npmjs.org'
22
+
23
+ - name : Install dependencies
24
+ run : npm ci
25
+ if : steps.node-cache.outputs.cache-hit != 'true'
26
+
27
+ - name : Publish to npm
28
+ env :
29
+ GH_TOKEN : ${{ github.token }}
30
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
31
+ run : npm publish
You can’t perform that action at this time.
0 commit comments