From 874e454eb5a9be4d92b1fe2538a5aba2b30548f3 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 8 Jan 2024 10:28:17 +0100 Subject: [PATCH] ci: fix cronjob --- .github/workflows/cron.yml | 2 +- package.json | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index daa3869..3681a5e 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -36,7 +36,7 @@ jobs: git push origin ${{ github.head_ref }} || true curl -fsS -m 10 --retry 5 -o /dev/null https://hc-ping.com/2345b25e-fe7d-4efd-b085-5886e6c85cc7 flush: - depends-on: [update] + needs: [update] runs-on: ubuntu-latest steps: - name: Checkout diff --git a/package.json b/package.json index 85e27ec..3a0dbfc 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,6 @@ "description": "A list of most common User Agent.", "homepage": "https://microlink.io/user-agents", "version": "2.1.0", - "exports": { - ".": "./src/index.js", - "./desktop": "./src/desktop.js", - "./mobile": "./src/mobile.js" - }, "author": { "email": "hello@microlink.io", "name": "microlink.io", @@ -62,7 +57,8 @@ "simple-git-hooks": "latest", "standard": "latest", "standard-markdown": "latest", - "standard-version": "latest" + "standard-version": "latest", + "ua-parser-js": "latest" }, "files": [ "src" @@ -87,6 +83,11 @@ "@commitlint/config-conventional" ] }, + "exports": { + ".": "./src/index.js", + "./desktop": "./src/desktop.js", + "./mobile": "./src/mobile.js" + }, "nano-staged": { "*.js": [ "prettier-standard",