build: fix build action

This commit is contained in:
Andrey Ponomarenko 2020-09-25 10:11:44 +03:00
parent 4eb9bd81ed
commit b0c2bc9810
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
- name: Build - name: Build
run: tsc && tscpaths -p tsconfig.json -s ./src -o ./dist run: npm run build
- name: Release - name: Release
env: env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

View File

@ -36,7 +36,7 @@
], ],
"scripts": { "scripts": {
"r": "yarn webpack && node dist/index.js", "r": "yarn webpack && node dist/index.js",
"build": "yarn tsc && yarn tscpaths -p tsconfig.json -s ./src -o ./dist", "build": "tsc && tscpaths -p tsconfig.json -s ./src -o ./dist",
"release": "node scripts/release.js" "release": "node scripts/release.js"
}, },
"dependencies": { "dependencies": {