diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 5fb4c3a..615e7a7 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -19,5 +19,9 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm install - - run: node ../../../../../../../index.js + + - name: Installing dependencies... + run: npm install + + - name: Try to run file + run: npm run run diff --git a/package.json b/package.json index eb9e0d7..2096b89 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Discord made by nurjavier", "main": "main.js", "scripts": { - "test": "node index.js" + "run": "node index.js" }, "author": "nurjavier", "license": "ISC",