diff --git a/.woodpecker.yml b/.woodpecker.yml index 030c6fc..88d4345 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,19 +1,17 @@ steps: -# lint: -# image: docker.io/node:16 -# commands: -# - git clone --recurse-submodules -j8 https://codeberg.org/${CI_REPO_OWNER}/safetwitch -# - npm i -# - npm run lint -# when: -# event: push -# branch: master - - build: + lint: image: docker.io/node:16 commands: - git clone --recurse-submodules -j8 https://codeberg.org/${CI_REPO_OWNER}/safetwitch - npm i + - npm run lint + when: + event: push + branch: master + + build: + image: docker.io/node:16 + commands: - npm run build when: event: push