From 80463811e3f894853e5cc7174b759ade6df804d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Wysoki=C5=84ski?= Date: Wed, 1 Feb 2023 06:56:08 +0100 Subject: [PATCH 1/3] build: add a new pipeline - build --- .drone.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 21bdd66..705ceab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,25 @@ +--- +kind: pipeline +type: docker +name: build + +platform: + os: linux + arch: amd64 + +steps: + - name: build + image: node:16-bullseye + commands: + - yarn && yarn build + +trigger: + event: + - push + - pull_request + branch: + - master + --- kind: pipeline type: docker @@ -24,6 +46,7 @@ steps: trigger: event: - tag + --- kind: pipeline type: docker @@ -83,6 +106,6 @@ depends_on: --- kind: signature -hmac: 86de762d907fbfd47b5c4ff9ee9fad252d71d34833e7f2dafa97e52d8ef2344b +hmac: 41f8c71c00cee8f0932228f9fcb449b50b36d93899bbc2decdf1fcced338caae ... -- 2.40.1 From 1579bd9cfcab0c9b1c2a607d12a1a9f6035a75b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Wysoki=C5=84ski?= Date: Wed, 1 Feb 2023 06:58:02 +0100 Subject: [PATCH 2/3] build: add a new pipeline - build --- src/extended-player-profile.user.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/extended-player-profile.user.ts b/src/extended-player-profile.user.ts index 79e5ff8..42f5923 100644 --- a/src/extended-player-profile.user.ts +++ b/src/extended-player-profile.user.ts @@ -6,6 +6,8 @@ import { InADayClient } from './lib/tw'; import { createTranslationFunc } from './utils'; import { buildURL } from './lib/twstats'; +export type ErrType = {}; + const t = createTranslationFunc({ pl_PL: { 'Joined at': 'Dołączył o', -- 2.40.1 From 0a3b806989a27d5a4736f0a647a10a6b22232055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Wysoki=C5=84ski?= Date: Wed, 1 Feb 2023 06:59:04 +0100 Subject: [PATCH 3/3] build: add a new pipeline - build --- src/extended-player-profile.user.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/extended-player-profile.user.ts b/src/extended-player-profile.user.ts index 42f5923..79e5ff8 100644 --- a/src/extended-player-profile.user.ts +++ b/src/extended-player-profile.user.ts @@ -6,8 +6,6 @@ import { InADayClient } from './lib/tw'; import { createTranslationFunc } from './utils'; import { buildURL } from './lib/twstats'; -export type ErrType = {}; - const t = createTranslationFunc({ pl_PL: { 'Joined at': 'Dołączył o', -- 2.40.1