2
0
NGPixel 8 жил өмнө
parent
commit
ed0dc385af
3 өөрчлөгдсөн 33 нэмэгдсэн , 1 устгасан
  1. 4 0
      CHANGELOG.md
  2. 1 1
      README.md
  3. 28 0
      wercker.yml

+ 4 - 0
CHANGELOG.md

@@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
 - **History**: History section to list all changes
 - **Security**: Optional Two-Factor Authentication (2FA) protection
 
+## [v1.0.3] - 2017-07-23
+### Fixed
+- **Misc**: Revert to npm install (Yarn may cause permissions + hang issues)
+
 ## [v1.0.1] - 2017-07-22
 ### Changed
 - **Misc**: Switch to Yarn for npm dependencies installation

+ 1 - 1
README.md

@@ -58,7 +58,7 @@ Current and upcoming milestones *(major features only, see the [changelog](https
 - [x] Render line breaks by default (GitHub style)
 - [x] New Localization: German
 
-### 1.0.1 - Stable
+### 1.0.3 - Stable
 ![Progress](http://progressed.io/bar/100)
 
 - [x] Bug fixes release

+ 28 - 0
wercker.yml

@@ -0,0 +1,28 @@
+box: node:8-alpine
+build:
+  steps:
+    - script:
+      name: yarn repository
+      code: |
+        curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
+        echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
+        apt update
+    - install-packages:
+      packages: bash build-essential git openssh yarn
+    - script:
+      name: yarn install
+      code: |
+        yarn config set cache-folder "$WERCKER_CACHE_DIR/yarn"
+        yarn install
+    - script:
+      name: build
+      code: yarn run build
+    - npm-test
+deploy:
+  steps:
+    - script:
+      name: package
+      code: |
+        tar -czf wiki-js.tar.gz * -X .build/.deployexclude
+        yarn install --production --ignore-scripts --prefer-offline
+        tar -czf node_modules.tar.gz node_modules