mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
26 lines
483 B
YAML
26 lines
483 B
YAML
language: node_js
|
|
node_js:
|
|
- "10"
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_module
|
|
|
|
install:
|
|
- yarn install --production=false --frozen-lockfile --non-interactive
|
|
# - yarn build
|
|
- yarn build:lib
|
|
|
|
before_deploy:
|
|
- rm -Rf ./node_modules .docs ./preview ./tests *.log*
|
|
- rm -Rf ./src/system/icons/_all
|
|
- rm -Rf ./src/system/tokens/_examples
|
|
deploy:
|
|
provider: npm
|
|
skip_cleanup: true
|
|
email: $NPM_EMAIL
|
|
api_key: $NPM_TOKEN
|
|
on:
|
|
tags: true
|
|
branch: master
|