Compare commits

...

2 Commits

Author SHA1 Message Date
neri 7dcc8408c2 add .drone.yml
continuous-integration/drone Build is failing Details
2022-06-07 20:49:09 +02:00
neri 6d8f26bfee restore nextTopic.js to normal operation 2022-06-07 20:48:11 +02:00
2 changed files with 9 additions and 3 deletions

9
.drone.yml Normal file
View File

@ -0,0 +1,9 @@
kind: pipeline
name: default
steps:
- name: build
image: node
commands:
- yarn install --frozen-lockfile
- yarn build --prod --prefix-paths

View File

@ -23,9 +23,6 @@ function getNextTopicDate() {
// first thursday and third tuesday in month
const nextTopic = zeroizeTime(today)
nextTopic.setMonth(5)
nextTopic.setDate(1)
// first thursday
if (calculatePriorWeekdays(nextTopic, THURSDAY) === 0) {
addDays(nextTopic, getDaysUntilNext(THURSDAY, nextTopic))