Skip to content

Commit

Permalink
chore(ci): update npm commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Jun 9, 2024
1 parent 04f5214 commit 6c2b7a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
node-version: 20

- run: npm ci
- run: npm run deps
- uses: JS-DevTools/npm-publish@v2.1.0
with:
token: ${{ secrets.NPM_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 120
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run deps
- run: npm run test
- run: npm t
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
},
"scripts": {
"grunt": "grunt",
"deps": "npm i && cd app && npm i && cd ..",
"test": "node node_modules/grunt-cli/bin/grunt clean mochaTest",
"types": "npx -p typescript tsc app/updater.js --declaration --allowJs --emitDeclarationOnly --outFile ./index.d.ts"
},
Expand Down

0 comments on commit 6c2b7a9

Please sign in to comment.