Update dependencies
This commit is contained in:
@@ -2,7 +2,7 @@ version: 2
|
||||
jobs:
|
||||
test:
|
||||
docker:
|
||||
- image: circleci/node:8.11.1
|
||||
- image: circleci/node:10.0.0
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
@@ -13,13 +13,24 @@ jobs:
|
||||
command: npm test
|
||||
build-latest:
|
||||
docker:
|
||||
- image: circleci/node:8.11.1
|
||||
- image: circleci/node:10.0.0
|
||||
steps:
|
||||
- checkout
|
||||
- run: sudo apt install -y rsync
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: bash deploy.sh
|
||||
- run:
|
||||
name: Install rsync
|
||||
command: sudo apt install -y rsync
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: npm install
|
||||
- run:
|
||||
name: Build CSS and JavaScript
|
||||
command: npm run build
|
||||
- run:
|
||||
name: Deploy theme
|
||||
command: bash build/deploy.sh
|
||||
- run:
|
||||
name: Purge Cloudflare cache
|
||||
command: bash build/purge_cache.sh
|
||||
workflows:
|
||||
version: 2
|
||||
build-latest:
|
||||
|
||||
Reference in New Issue
Block a user