Skip to content

Commit e1deebe

Browse files
committed
Use stable Actions v3 and proper timeout
1 parent 304f49a commit e1deebe

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,24 @@ on:
77

88
jobs:
99
deployment:
10-
runs-on: self-hosted
11-
environment: .env
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10 # applies to the whole job
12+
1213
steps:
1314
- name: Checkout main branch
14-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
16+
1517
- name: Setup Node.js
16-
uses: actions/setup-node@v1
18+
uses: actions/setup-node@v3
1719
with:
18-
node-version: '16.x'
20+
node-version: '16'
21+
22+
- name: Clean npm cache
23+
run: npm cache clean --force
24+
1925
- name: Install dependencies
20-
run: npm ci
26+
run: npm ci --verbose
27+
2128
- name: Create env file
2229
run: |
2330
touch .env

0 commit comments

Comments
 (0)