This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createAction, createReducer } from 'redux-starter-kit'; | |
/** | |
* Adds marker to the map. Payload: marker data | |
*/ | |
export const addMarker = createAction('map/add-marker'); | |
/** | |
* Toggles marker visibility | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createAction, createReducer } from 'redux-starter-kit'; | |
/** | |
* Adds marker to the map. Payload: marker data | |
*/ | |
export const addMarker = createAction('map/add-marker'); | |
/** | |
* Toggles marker visibility. Payload: marker id | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { configureStore, getDefaultMiddleware } from 'redux-starter-kit'; | |
import logger from 'redux-logger' | |
import cameraReducer from './reducers/camera'; | |
import mapReducer from './reducers/map'; | |
const store = configureStore({ | |
reducer: { | |
camera: cameraReducer, | |
map: mapReducer, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check out my blog post about this topic at https://medium.com/@ondrej.janosik42/setting-up-bitbucket-pipelines-with-proper-caching-of-npm-and-cypress-74d033888186 | |
image: node:10.8.0 | |
options: | |
max-time: 30 | |
pipelines: | |
default: | |
- step: | |
name: Install, build and tests | |
caches: | |
- npm |