pretty-var-export
Version:
Export any value to valid and equivalent JavaScript code
24 lines (21 loc) • 518 B
YAML
# Use generic build mode on Ubuntu
image: Ubuntu
build: off
environment:
CODECOV_TOKEN: '465c95a6-7baa-4f41-a71d-08589fffcaba'
# Install scripts. (runs after repo cloning)
install:
# install modules
- nvm use 16
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
- npm run coverage
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -t ${CODECOV_TOKEN}