From b7c371d05f9c3fd7020b0e816f63986d9154e03b Mon Sep 17 00:00:00 2001 From: josh-wjp Date: Sat, 8 Feb 2025 15:38:15 -0500 Subject: [PATCH] Throwing darts... --- ...ure-static-web-apps-salmon-plant-01410310f.yml | 15 +-------------- package.json | 9 +++++---- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-salmon-plant-01410310f.yml b/.github/workflows/azure-static-web-apps-salmon-plant-01410310f.yml index 1597b4b..fe27759 100644 --- a/.github/workflows/azure-static-web-apps-salmon-plant-01410310f.yml +++ b/.github/workflows/azure-static-web-apps-salmon-plant-01410310f.yml @@ -13,19 +13,6 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: 20.16.2 # Stable version for crypto compatibility - cache: "npm" - - - name: Debug environment - run: | - node -v - npm -v - uname -a - ls -la - - name: Install dependencies run: npm install @@ -36,7 +23,7 @@ jobs: uses: Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} - repo_token: ${{ secrets.GITHUB_TOKEN }} + repo_token: ${{ secrets.AZURE_GITHUB_TOKEN }} action: "upload" app_location: "/" output_location: "dist" diff --git a/package.json b/package.json index 45a4d21..da9bb0a 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,11 @@ { "name": "hodlbot-vitefe", - "private": true, "version": "0.0.0", - "type": "module", - "main": "src/main.jsx", + "private": true, + "engines": { + "node": "^20.16.0", + "npm": ">=10.8.1" + }, "scripts": { "dev": "vite", "build": "vite build", @@ -14,7 +16,6 @@ "@near-wallet-selector/core": "^8.9.16", "@near-wallet-selector/modal-ui": "^8.9.16", "@near-wallet-selector/my-near-wallet": "^8.9.16", - "docker": "^1.0.0", "global": "^4.4.0", "near-api-js": "^5.0.1", "react": "^19.0.0",