Skip to content

Commit

Permalink
Modify package.json before publishing: remove type: module (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoArregui authored Jul 27, 2023
1 parent 2c985cc commit 7b531d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ on:
types:
- created


jobs:
build-publish:
uses: decentraland/platform-actions/.github/workflows/libs-build-and-publish.yml@main
with:
run-pre-publish: true
secrets:
SDK_TEAM_S3_BUCKET: ${{ secrets.SDK_TEAM_S3_BUCKET }}
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"test": "vitest run",
"test:watch": "vitest",
"lint:check": "eslint '**/*.{js,ts}'",
"lint:fix": "eslint '**/*.{js,ts}' --fix"
"lint:fix": "eslint '**/*.{js,ts}' --fix",
"pre-publish": "sed -i '/^[ ]*\"type\": \"module\"/d' package.json"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 7b531d4

Please sign in to comment.