Skip to content

Commit 6882022

Browse files
committed
📦 Chore: add alpha branch for alpha version
ISSUES CLOSED: #106
1 parent 5616fb9 commit 6882022

File tree

3 files changed

+40
-9
lines changed

3 files changed

+40
-9
lines changed

.github/workflows/alpha.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: publish
2+
on:
3+
push:
4+
branches:
5+
- alpha
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Clone repo
11+
uses: actions/checkout@v1
12+
- name: Setup node
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: '12.x'
16+
registry-url: 'https://registry.npmjs.org'
17+
- name: Install modules
18+
run: yarn
19+
- run: npm run build
20+
- run: npm publish --tag alpha --access public
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"typescript": "^4.4.3"
9393
},
9494
"dependencies": {
95+
"@picgo/i18n": "^1.0.0",
9596
"chalk": "^2.4.1",
9697
"commander": "^8.1.0",
9798
"comment-json": "^2.3.1",

yarn.lock

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,14 @@
354354
husky "^1.3.1"
355355
ora "^3.4.0"
356356

357+
"@picgo/i18n@^1.0.0":
358+
version "1.0.0"
359+
resolved "https://registry.npmmirror.com/@picgo/i18n/download/@picgo/i18n-1.0.0.tgz#a4d9d08624b55c3980f4f7628794fac47231da09"
360+
integrity sha512-D0fqwox9AZ1pnvgFqBKQe+16U08FkPLnUW1wQSBEdn+EvI48IC3jIWDTZd1MSQzXeODnh/w4eAiUyARrf2Hzig==
361+
dependencies:
362+
chalk "4.1.2"
363+
tslib "^2.3.1"
364+
357365
"@rollup/plugin-commonjs@^21.0.0":
358366
version "21.0.0"
359367
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-21.0.0.tgz#b9e4342855ea20b5528f4587b9a90f642196a502"
@@ -1201,6 +1209,14 @@ chalk@2.3.1:
12011209
escape-string-regexp "^1.0.5"
12021210
supports-color "^5.2.0"
12031211

1212+
chalk@4.1.2, chalk@^4.0.0:
1213+
version "4.1.2"
1214+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
1215+
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
1216+
dependencies:
1217+
ansi-styles "^4.1.0"
1218+
supports-color "^7.1.0"
1219+
12041220
chalk@^2.0.0, chalk@^2.0.1, chalk@^2.4.1, chalk@^2.4.2:
12051221
version "2.4.2"
12061222
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -1210,14 +1226,6 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.4.1, chalk@^2.4.2:
12101226
escape-string-regexp "^1.0.5"
12111227
supports-color "^5.3.0"
12121228

1213-
chalk@^4.0.0:
1214-
version "4.1.2"
1215-
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
1216-
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
1217-
dependencies:
1218-
ansi-styles "^4.1.0"
1219-
supports-color "^7.1.0"
1220-
12211229
chardet@^0.7.0:
12221230
version "0.7.0"
12231231
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
@@ -5537,7 +5545,7 @@ tslib@^1.8.1, tslib@^1.9.0:
55375545
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
55385546
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
55395547

5540-
tslib@^2, tslib@^2.0.1:
5548+
tslib@^2, tslib@^2.0.1, tslib@^2.3.1:
55415549
version "2.3.1"
55425550
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
55435551
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==

0 commit comments

Comments
 (0)