This file contains 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 { AviaSearchState } from './types' | |
export enum TYPES { | |
SWAP_AIRPORTS = 'AVIA_SEARCH/SWAP_AIRPORTS', | |
INIT_FORM = 'AVIA_SEARCH/INIT_FORM', | |
} | |
type Payload = { | |
[TYPES.SWAP_AIRPORTS]: undefined | |
[TYPES.INIT_FORM]: AviaSearchState |
This file contains 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
const path = require('path') | |
const HtmlWebpackPlugin = require('html-webpack-plugin') | |
const webpack = require('webpack') | |
const PRODUCTION = 'production' | |
const DEVELOPMENT = 'development' | |
const { NODE_ENV } = process.env | |
const IS_PROD = NODE_ENV === PRODUCTION |
This file contains 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
image: node:12.17-alpine | |
variables: | |
# TODO: Use $CI_COMMIT_REF_SLUG to create different images | |
STAGING_IMAGE: '$CI_REGISTRY_IMAGE/b2b:latest' | |
stages: | |
- prepare | |
- test_and_assets | |
- build |