Skip to content

Instantly share code, notes, and snippets.

@nunof07

nunof07/.gitlab-ci.yml

Last active May 3, 2019
Embed
What would you like to do?
GitLab CI to test Sage theme build
image: edbizarro/gitlab-ci-pipeline-php:7.2-alpine-lts
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
- vendor/
- .yarn
before_script:
- composer install --prefer-dist --no-ansi --no-interaction --no-progress
- sudo yarn config set cache-folder .yarn
- yarn install --pure-lockfile
test_build:
script:
- yarn build:production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment