add ci #1
@@ -1,6 +1,7 @@
|
||||
steps:
|
||||
- name: lint
|
||||
image: node:24-slim
|
||||
depends_on: []
|
||||
commands:
|
||||
- npm ci
|
||||
- npm run lint
|
||||
@@ -9,6 +10,7 @@ steps:
|
||||
|
||||
- name: test
|
||||
image: node:24-slim
|
||||
depends_on: []
|
||||
environment:
|
||||
CI: "true"
|
||||
commands:
|
||||
@@ -17,9 +19,11 @@ steps:
|
||||
- event: pull_request
|
||||
|
||||
- name: e2e
|
||||
image: mcr.microsoft.com/playwright:v1.58.2-noble
|
||||
image: node:24-slim
|
||||
depends_on: []
|
||||
commands:
|
||||
- npm ci
|
||||
- npx playwright install --with-deps
|
||||
- npm run test:e2e
|
||||
environment:
|
||||
CI: "true"
|
||||
@@ -29,6 +33,7 @@ steps:
|
||||
|
||||
- name: docker-build
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
depends_on: []
|
||||
settings:
|
||||
repo: git.keligrubb.com/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
||||
registry: git.keligrubb.com
|
||||
|
||||
Reference in New Issue
Block a user