mirror of
https://gitlab.edgegamers.io/discord/ds-bot.git
synced 2025-12-06 06:22:49 -08:00
Add gitlab CI
This commit is contained in:
25
.gitlab-ci.yml
Normal file
25
.gitlab-ci.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
image: node:latest
|
||||
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
|
||||
cache:
|
||||
key: "$CI_COMMIT_REF_SLUG"
|
||||
paths:
|
||||
- node_modules/
|
||||
- dist/
|
||||
|
||||
before_script:
|
||||
- npm install
|
||||
- npm run lint
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- npm run test
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- npm run build
|
||||
Reference in New Issue
Block a user