Skip to content

Commit

Permalink
Fix: node-fetch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jan 16, 2023
1 parent 65aea63 commit b9ea094
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-java@v1
with:
java-version: 1.8
- run: ./gradlew shadowJar
- run: mkdir dist
- run: mv build/libs/crowdin-cli-*.jar dist/crowdin-cli.jar

- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '12.x'
- run: sudo npm install jdeploy@3.2.0 -g
node-version: 14
- run: sudo npm install jdeploy@3.4.3 -g
- run: npm install
- run: jdeploy install
- run: crowdin -V
Expand Down
13 changes: 1 addition & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"jar": "dist/crowdin-cli.jar"
},
"dependencies": {
"njre": "^0.2.0",
"command-exists-promise": "^2.0.2",
"node-fetch": "^2.6.7",
"tar": "^4.4.8",
"yauzl": "^2.10.0",
"shelljs": "^0.8.4"
},
"license": "MIT",
Expand Down

0 comments on commit b9ea094

Please sign in to comment.