From 71e287d56c673052c00e89c73fde013a0b5de206 Mon Sep 17 00:00:00 2001 From: Floatingghost Date: Tue, 28 May 2024 03:14:37 +0100 Subject: [PATCH] update CI to v2 --- .woodpecker.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 723bfb7c..1a277e2c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,10 +1,12 @@ -platform: linux/amd64 -pipeline: +labels: + platform: linux/amd64 + +steps: lint: when: event: - pull_request - image: node:18 + image: node:20 commands: - yarn - yarn lint @@ -14,11 +16,11 @@ pipeline: when: event: - pull_request - image: node:18 + image: node:20 commands: - apt update - apt install firefox-esr -y --no-install-recommends - - yarn + - yarn - yarn unit build: @@ -28,7 +30,7 @@ pipeline: branch: - develop - stable - image: node:18 + image: node:20 commands: - yarn - yarn build @@ -40,7 +42,7 @@ pipeline: branch: - develop - stable - image: node:18 + image: node:20 secrets: - SCW_ACCESS_KEY - SCW_SECRET_KEY