mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-11-15 01:25:25 +01:00
18 lines
250 B
YAML
18 lines
250 B
YAML
image: node:latest
|
|
|
|
cache:
|
|
paths:
|
|
- node_modules/
|
|
|
|
testing:
|
|
stage: test
|
|
script:
|
|
- npm i -g gatsby-cli
|
|
- export PATH="$PATH:/usr/local/bin/gatsby"
|
|
- npm i
|
|
- npm test
|
|
- npm run build
|
|
artifacts:
|
|
paths:
|
|
- public
|