Remove unnecessary scripts

This commit is contained in:
Peter Evans 2020-07-23 15:04:58 +09:00
parent c0c9424b03
commit c01f8fadc7
2 changed files with 1 additions and 7 deletions

View file

@ -22,12 +22,10 @@ jobs:
with: with:
python-version: '3.x' python-version: '3.x'
- run: npm ci - run: npm ci
- run: npm run clean
- run: npm run build - run: npm run build
- run: npm run format-check - run: npm run format-check
- run: npm run lint - run: npm run lint
- run: npm run test - run: npm run test
- run: npm run package
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: dist name: dist

View file

@ -5,17 +5,13 @@
"description": "Creates a pull request for changes to your repository in the actions workspace", "description": "Creates a pull request for changes to your repository in the actions workspace",
"main": "lib/main.js", "main": "lib/main.js",
"scripts": { "scripts": {
"clean": "echo Temporarily kept for backwards compatibility",
"build": "tsc && ncc build", "build": "tsc && ncc build",
"format": "prettier --write '**/*.ts'", "format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'", "format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts", "lint": "eslint src/**/*.ts",
"test:unit": "jest unit", "test:unit": "jest unit",
"test:int": "__test__/integration-tests.sh", "test:int": "__test__/integration-tests.sh",
"test": "npm run test:unit && npm run test:int", "test": "npm run test:unit && npm run test:int"
"pack-assets": "echo Temporarily kept for backwards compatibility",
"vendor-deps": "echo Temporarily kept for backwards compatibility",
"package": "echo Temporarily kept for backwards compatibility"
}, },
"repository": { "repository": {
"type": "git", "type": "git",