diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e3dece3..8ab37d6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,5 @@ name: Build and Deploy + env: CI: false GITHUB_USERNAME: ${{ github.repository_owner }} @@ -9,25 +10,28 @@ on: push: branches: - main - # schedule: - # # see https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events - # - cron: "30 6 * * *" + workflow_dispatch: + jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ uses: actions/checkout@v4 + - name: Setup Node.js 🔧 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: latest + - name: Update npm 🚀 run: npm install -g npm@latest + - name: Install and Build 🔧 # Build the Project run: | - npm ci + npm install npm run build + - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 005eaef..45252dd 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -13,9 +13,10 @@ jobs: with: persist-credentials: false - - uses: actions/setup-node@v4 + - name: Setup Node.js 🔧 + uses: actions/setup-node@v4 with: - node-version: 20 + node-version: latest # Install dependencies - name: Install 🔧 diff --git a/package-lock.json b/package-lock.json index ce68ece..6d69548 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7592,9 +7592,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.152", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.152.tgz", - "integrity": "sha512-xBOfg/EBaIlVsHipHl2VdTPJRSvErNUaqW8ejTq5OlOlIYx1wOllCHsAvAIrr55jD1IYEfdR86miUEt8H5IeJg==", + "version": "1.5.155", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.155.tgz", + "integrity": "sha512-ps5KcGGmwL8VaeJlvlDlu4fORQpv3+GIcF5I3f9tUKUlJ/wsysh6HU8P5L1XWRYeXfA0oJd4PyM8ds8zTFf6Ng==", "license": "ISC" }, "node_modules/email-addresses": { @@ -10841,9 +10841,6 @@ "istanbul-lib-coverage": "^3.2.0", "semver": "^6.3.0" }, - "engines": { - "node": ">=8" - } }, "node_modules/istanbul-lib-report": { "version": "3.0.1", @@ -13968,15 +13965,15 @@ } }, "node_modules/postcss-load-config/node_modules/yaml": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz", - "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", + "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", "license": "ISC", "bin": { "yaml": "bin.mjs" }, "engines": { - "node": ">= 14" + "node": ">= 14.6" } }, "node_modules/postcss-loader": { @@ -17784,13 +17781,13 @@ } }, "node_modules/terser": { - "version": "5.39.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.39.1.tgz", - "integrity": "sha512-Mm6+uad0ZuDtcV8/4uOZQDQ8RuiC5Pu+iZRedJtF7yA/27sPL7d++In/AJKpWZlU3SYMPPkVfwetn6sgZ66pUA==", + "version": "5.39.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.39.2.tgz", + "integrity": "sha512-yEPUmWve+VA78bI71BW70Dh0TuV4HHd+I5SHOAfS1+QBOmvmCiiffgjR8ryyEd3KIfvPGFqoADt8LdQ6XpXIvg==", "license": "BSD-2-Clause", "dependencies": { "@jridgewell/source-map": "^0.3.3", - "acorn": "^8.8.2", + "acorn": "^8.14.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" },