+5
-5
@@ -1,26 +1,26 @@
|
||||
when:
|
||||
branch: main
|
||||
event: push
|
||||
event: [push, manual]
|
||||
|
||||
steps:
|
||||
install:
|
||||
image: node:20
|
||||
commands:
|
||||
- npm ci
|
||||
- cd client && npm install
|
||||
|
||||
lint:
|
||||
image: node:20
|
||||
commands:
|
||||
- npm run lint
|
||||
- cd client && npm run lint
|
||||
depends_on: [install]
|
||||
|
||||
build:
|
||||
image: node:20
|
||||
commands:
|
||||
- npm run build
|
||||
- cd client && npm run build
|
||||
depends_on: [install]
|
||||
|
||||
deploy:
|
||||
deploy:
|
||||
image: alpine:latest
|
||||
environment:
|
||||
DEPLOY_KEY:
|
||||
|
||||
Reference in New Issue
Block a user