Skip to content

Commit a146143

Browse files
authored
Update npm-publish.yml
1 parent 24fc261 commit a146143

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v1
1616
with:
1717
node-version: 12
18+
- run: npm install
1819
- run: npx tsc index.ts
1920
- run: npm test
2021

@@ -27,6 +28,7 @@ jobs:
2728
with:
2829
node-version: 12
2930
registry-url: https://registry.npmjs.org/
31+
- run: npm install
3032
- run: npx tsc index.ts
3133
- run: npm publish
3234
env:
@@ -41,6 +43,7 @@ jobs:
4143
with:
4244
node-version: 12
4345
registry-url: https://npm.pkg.github.com/
46+
- run: npm install
4447
- run: npx tsc index.ts
4548
- run: npm publish
4649
env:

0 commit comments

Comments
 (0)