Skip to content

Commit 1a683ec

Browse files
restfulheadPatrick Ruhkopf
authored andcommitted
chore: add timeout
1 parent cab8917 commit 1a683ec

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13+
timeout-minutes: 15
1314

1415
strategy:
1516
matrix:

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
build:
88

99
runs-on: ubuntu-latest
10+
timeout-minutes: 15
1011

1112
steps:
1213
- uses: actions/checkout@v3
@@ -24,6 +25,7 @@ jobs:
2425
run: npm run build:prod
2526

2627
- name: Publish
27-
run: npm publish
28+
run: npx auto shipit
2829
env:
29-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
30+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
31+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)