feat: switch npm to yarn (#37)
* feat: switch npm to yarn * working on node 7.10.0 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * upgrade node-sass Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Родитель
4d5fbe24b8
Коммит
2b14a3fc30
15
.drone.yml
15
.drone.yml
|
@ -1,14 +1,11 @@
|
|||
workspace:
|
||||
path: src
|
||||
|
||||
pipeline:
|
||||
build:
|
||||
image: library/node:latest
|
||||
image: node:8.1.1
|
||||
commands:
|
||||
- npm install -q
|
||||
- npm run clean
|
||||
- npm run build
|
||||
- npm run release
|
||||
- yarn install
|
||||
- yarn run clean
|
||||
- yarn run build
|
||||
- yarn run release
|
||||
|
||||
release:
|
||||
image: plugins/s3
|
||||
|
@ -38,4 +35,4 @@ pipeline:
|
|||
webhook_token: ${WEBHOOK_TOKEN}
|
||||
when:
|
||||
event: [ push, tag, pull_request ]
|
||||
status: [ failure ]
|
||||
status: [ changed, failure ]
|
||||
|
|
|
@ -1 +1 @@
|
|||
eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIHBhdGg6IHNyYwoKcGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogbGlicmFyeS9ub2RlOmxhdGVzdAogICAgY29tbWFuZHM6CiAgICAgIC0gbnBtIGluc3RhbGwgLXEKICAgICAgLSBucG0gcnVuIGNsZWFuCiAgICAgIC0gbnBtIHJ1biBidWlsZAogICAgICAtIG5wbSBydW4gcmVsZWFzZQoKICByZWxlYXNlOgogICAgaW1hZ2U6IHBsdWdpbnMvczMKICAgIHBhdGhfc3R5bGU6IHRydWUKICAgIHN0cmlwX3ByZWZpeDogZGlzdC8KICAgIHNvdXJjZTogZGlzdC9tYXN0ZXIudGFyLmd6CiAgICB0YXJnZXQ6IC90aGVtZQogICAgd2hlbjoKICAgICAgZXZlbnQ6IFsgcHVzaCBdCiAgICAgIGJyYW5jaDogWyBtYXN0ZXIgXQoKICB0cmlnZ2VyOgog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GltYWdlOiBwbHVnaW5zL2Rvd25zdHJlYW0KICAgIHNlcnZlcjogaHR0cHM6Ly9kcm9uZS5naXRlYS5pbwogICAgcmVwb3NpdG9yaWVzOgogICAgICAtIGdvLWdpdGVhL3dlYnNpdGUKICAgICAgLSBnby1naXRlYS9ibG9nCiAgICAgIC0gZ28tZ2l0ZWEvZG9jcwogICAgICAtIGdvLWdpdGVhL3JlZGlyZWN0cwogICAgd2hlbjoKICAgICAgZXZlbnQ6IFsgcHVzaCBdCiAgICAgIGJyYW5jaDogWyBtYXN0ZXIgXQoKICBkaXNjb3JkOgogICAgaW1hZ2U6IGFwcGxlYm95L2Ryb25lLWRpc2NvcmQKICAgIHdlYmhvb2tfaWQ6ICR7V0VCSE9PS19JRH0KICAgIHdlYmhvb2tfdG9rZW46ICR7V0VCSE9PS19UT0tFTn0KICAgIHdoZW46CiAgICAgIGV2ZW50OiBbIHB1c2gsIHRhZywgcHVsbF9yZXF1ZXN0IF0KICAgICAgc3RhdHVzOiBbIGNoYW5nZWQsIGZhaWx1cmUgXQo.9Px7GURHciKo4EtYB_NNLm3TXEhE7yQ8BA8lMTJ8yG4
|
|
@ -1,3 +1,4 @@
|
|||
/node_modules/
|
||||
/dist/
|
||||
/static/styles/
|
||||
.yarn-cache
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"gulp": "^3.9.1",
|
||||
"gulp-clean": "^0.3.2",
|
||||
"gulp-gzip": "^1.4.0",
|
||||
"gulp-sass": "^2.3.2",
|
||||
"gulp-sass": "^3.1.0",
|
||||
"gulp-sourcemaps": "^1.9.1",
|
||||
"gulp-tar-path": "^1.0.1"
|
||||
}
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче