GitLab CI to test Sage theme build
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: 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