Skip to content

Instantly share code, notes, and snippets.

@nunof07
Last active May 3, 2019 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nunof07/7951b733198af1f5523cd5a9f84d0158 to your computer and use it in GitHub Desktop.
Save nunof07/7951b733198af1f5523cd5a9f84d0158 to your computer and use it in GitHub Desktop.
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