From 8c8bbe7ae0279f9c620699714913dacafe7c630a Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sun, 13 Aug 2023 05:36:22 +0300 Subject: [PATCH] squash! --- .github/dependabot.yml | 6 ++++++ .github/workflows/Node.yml | 17 +++++++++++++++++ website/.github/dependabot.yml | 12 ------------ 3 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 website/.github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 54a5f2f3..45288980 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,3 +11,9 @@ updates: schedule: interval: "daily" versioning-strategy: increase + + - package-ecosystem: "npm" + directory: "/website" + schedule: + interval: "daily" + versioning-strategy: increase diff --git a/.github/workflows/Node.yml b/.github/workflows/Node.yml index eb6996a2..ccb993fb 100644 --- a/.github/workflows/Node.yml +++ b/.github/workflows/Node.yml @@ -91,3 +91,20 @@ jobs: with: name: .-NPM-Node-${{ matrix.node-version }}-Target path: ./NPM/Target + + - uses: actions/setup-node@v3.7.0 + with: + node-version: ${{ matrix.node-version }} + cache: "pnpm" + cache-dependency-path: ./website/pnpm-lock.yaml + + - run: pnpm install + working-directory: ./website + + - run: pnpm run prepublishOnly + working-directory: ./website + + - uses: actions/upload-artifact@v3.1.2 + with: + name: .-website-Node-${{ matrix.node-version }}-Target + path: ./website/Target diff --git a/website/.github/dependabot.yml b/website/.github/dependabot.yml deleted file mode 100644 index 4d4096fb..00000000 --- a/website/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "daily" - versioning-strategy: increase