From 5e5813839977dc8199ac54bbf271f5cc032fb07e Mon Sep 17 00:00:00 2001 From: Jesus Redondo Date: Wed, 6 Apr 2022 10:02:03 +0200 Subject: [PATCH] Fix Github workflows --- .github/workflows/node.js.yml | 3 +-- .github/workflows/npm-publish-github-packages.yml | 2 +- .github/workflows/npm-publish.yml | 2 +- package.json | 2 -- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3a36f3d..aeb41b8 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -29,6 +29,5 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci - - run: npm run build --if-present + - run: npm install - run: npm test diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index aca0109..e8457e5 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - run: npm build + - run: npm install - run: npm test publish-gpr: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 55682a1..f9eb1f1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - run: npm build + - run: npm install - run: npm test publish-npm: diff --git a/package.json b/package.json index a69ae77..3b3c5a9 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,6 @@ "jest": "^27.5.1" }, "scripts": { - "build": "npm install", - "ci": "npm test", "test": "jest --forceExit ./test/main.test.js" }, "author": "Jesus Redondo"