Browse Source

:recycle: Code Refactor

Gabriele Picco 1 year ago
parent
commit
43c5f96c06

+ 3 - 5
.github/workflows/run-tests.yml

@@ -41,11 +41,6 @@ jobs:
           path: '**/node_modules'
           key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
 
-      - name: Install Node Modules
-        run: |
-          export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
-          yarn install
-
       - name: Install Rust
         uses: dtolnay/rust-toolchain@stable
         with:
@@ -69,6 +64,9 @@ jobs:
         task: [clippy, yarn]
     steps:
       - uses: actions/checkout@v4
+      - name: Install node modules
+        run: |
+          yarn --frozen-lockfile --network-concurrency 2
       - name: Cache Rust
         uses: Swatinem/rust-cache@v2
       - name: Run Lint

+ 1 - 1
cli/npm-package/package.json

@@ -24,7 +24,7 @@
   "devDependencies": {
     "@types/node": "^20.8.8",
     "typescript": "^4.9.4",
-    "prettier": "^3.1.1"
+    "prettier": "^3.3.3"
   },
   "optionalDependencies": {
     "@magicblock-labs/bolt-cli-darwin-x64": "0.1.10",

+ 1 - 1
clients/bolt-sdk/package-lock.json

@@ -17,7 +17,7 @@
         "eslint-config-standard-with-typescript": "^42.0.0",
         "eslint-plugin-import": "^2.29.0",
         "eslint-plugin-react": "^7.33.2",
-        "prettier": "^3.1.1",
+        "prettier": "^3.3.3",
         "rimraf": "^5.0.5",
         "typedoc": "^0.25.4",
         "typedoc-plugin-markdown": "^3.17.1"

+ 1 - 1
clients/bolt-sdk/package.json

@@ -12,7 +12,7 @@
   },
   "devDependencies": {
     "@metaplex-foundation/solita": "^0.20.1",
-    "prettier": "^3.1.1",
+    "prettier": "^3.3.3",
     "rimraf": "^5.0.5",
     "typedoc": "^0.25.4",
     "typedoc-plugin-markdown": "^3.17.1",

File diff suppressed because it is too large
+ 220 - 203
yarn.lock


Some files were not shown because too many files changed in this diff