Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Fix Github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JSRedondo committed Apr 6, 2022
1 parent 5f02dda commit 5e58138
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5e58138

Please sign in to comment.