build: fix build action
This commit is contained in:
parent
4eb9bd81ed
commit
b0c2bc9810
|
@ -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 }}
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue