Skip to content

Commit 28a15c3

Browse files
authored
Update npm-publish.yml
1 parent a550816 commit 28a15c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
node-version: 12
1818
- run: npm install
19-
- run: npx tsc index.ts
19+
- run: npm run build
2020
- run: npm test
2121

2222
publish-npm:
@@ -29,7 +29,7 @@ jobs:
2929
node-version: 12
3030
registry-url: https://registry.npmjs.org/
3131
- run: npm install
32-
- run: npx tsc index.ts
32+
- run: npm run build
3333
- run: npm publish
3434
env:
3535
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -44,7 +44,7 @@ jobs:
4444
node-version: 12
4545
registry-url: https://npm.pkg.github.com/
4646
- run: npm install
47-
- run: npx tsc index.ts
47+
- run: npm run build
4848
- run: npm install -g json
4949
- run: json -I -f package.json -e 'this.name="@vip-git/context-api-dev-tools-extension"'
5050
- run: npm publish --registry=https://npm.pkg.github.com --scope=public

0 commit comments

Comments
 (0)