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
include: 'https://gitlab.com/gitlab-cd/ssh-template/raw/master/ssh.yml' | |
# Install build dependencies. | |
.build: | |
image: node:12.8 | |
variables: | |
YARN_CACHE_DIR: '.ci/yarn-cache' | |
script: | |
# Some build dependencies |
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 { createHttpLink } = require('apollo-link-http'); | |
const fetch = require('node-fetch'); | |
const store = require('store'); | |
const sourceNodes = require('gatsby/dist/utils/source-nodes'); | |
require('dotenv').config(); | |
const craftGqlUrl = process.env.CRAFT_GQL_URL; | |
const craftGqlToken = process.env.CRAFT_GQL_TOKEN; | |
module.exports = { |
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
<? | |
public function testNestedValidation() { | |
Validator::add('match', function($value, $format = null, array $options = array()) { | |
$options += array( | |
'against' => '', | |
'values' => array() | |
); | |
extract($options); |