Skip to content

Instantly share code, notes, and snippets.

View sathiyaseelan's full-sized avatar

sathya sathiyaseelan

  • Singapore
View GitHub Profile
@sathiyaseelan
sathiyaseelan / store_index.js
Created July 18, 2018 05:08
Nuxt Example for modularised Vuex Store with multiple nuxtServer Init
export const actions = {
async nuxtServerInit ({ dispatch }, { app }) {
console.log('calling init methods')
await dispatch('providers/nuxtServerInit', { app })
await dispatch('products/nuxtServerInit', { app })
}
}
@sathiyaseelan
sathiyaseelan / config.yml
Created August 2, 2018 10:48
Sample Circle ci config to deploy a node application in heroku and run integration tests before and after release using cypress
# .circleci/config.yml
version: 2
defaults: &defaults
working_directory: ~/app
docker:
# the Docker image with Cypress dependencies
- image: cypress/base:8
environment:
## this enables colors in the output
TERM: xterm