File tree Expand file tree Collapse file tree 3 files changed +104
-0
lines changed Expand file tree Collapse file tree 3 files changed +104
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ updates :
4
+ - package-ecosystem : npm
5
+ directory : /
6
+ schedule :
7
+ interval : daily
8
+ allow :
9
+ - dependency-type : direct
10
+ assignees :
11
+ - vansergen
12
+ versioning-strategy : increase
13
+ labels :
14
+ - dependabot
15
+ - dependencies
16
+ commit-message :
17
+ prefix : dependencies
18
+ prefix-development : devDependencies
19
+
20
+ - package-ecosystem : github-actions
21
+ directory : /
22
+ schedule :
23
+ interval : daily
24
+ assignees :
25
+ - vansergen
26
+ labels :
27
+ - dependabot
28
+ - ci
29
+ commit-message :
30
+ prefix : ci
Original file line number Diff line number Diff line change
1
+ custom : https://commerce.coinbase.com/checkout/eddfb0f7-20e7-4e0d-8e04-232bbdf0b397
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ with :
12
+ fetch-depth : 0
13
+
14
+ - uses : actions/setup-node@v3
15
+ with :
16
+ node-version : 18
17
+ check-latest : true
18
+
19
+ - name : Install dependencies
20
+ run : npm ci
21
+
22
+ - name : Prettier
23
+ run : npm run prettier
24
+
25
+ - name : commitlint
26
+ run : npm run commitlint
27
+
28
+ - name : Publish
29
+ run : npm publish --dry-run
30
+
31
+ release :
32
+ needs : [test]
33
+
34
+ runs-on : ubuntu-latest
35
+
36
+ steps :
37
+ - uses : actions/checkout@v3
38
+
39
+ - uses : actions/setup-node@v3
40
+ with :
41
+ node-version : 18
42
+ check-latest : true
43
+
44
+ - name : Import GPG key
45
+ run : echo $GPG_KEY | base64 --decode | gpg --batch --import
46
+ env :
47
+ GPG_KEY : ${{ secrets.GPG_KEY }}
48
+
49
+ - name : Add the custom gpg executable
50
+ run : |
51
+ rm -rf /tmp/gpg.sh
52
+ echo 'gpg --batch --pinentry-mode=loopback --passphrase $GPG_KEY_PASSPHRASE $@' >> /tmp/gpg.sh
53
+ chmod +x /tmp/gpg.sh
54
+
55
+ - name : Setup git
56
+ run : |
57
+ git config commit.gpgsign true
58
+ git config user.signingkey $GPG_KEY_ID
59
+ git config gpg.program /tmp/gpg.sh
60
+ env :
61
+ GPG_KEY_ID : ${{ secrets.GPG_KEY_ID }}
62
+
63
+ - name : Install dependencies
64
+ run : npm ci
65
+
66
+ - name : Release
67
+ run : npx semantic-release
68
+ env :
69
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
70
+ GIT_COMMITTER_EMAIL : ${{ secrets.GIT_COMMITTER_EMAIL }}
71
+ GIT_COMMITTER_NAME : ${{ secrets.GIT_COMMITTER_NAME }}
72
+ GPG_KEY_PASSPHRASE : ${{ secrets.GPG_KEY_PASSPHRASE }}
73
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments