We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed35511 commit 27a16cbCopy full SHA for 27a16cb
.github/workflows/self-hosted-test.yml
@@ -9,7 +9,8 @@ on:
9
jobs:
10
lint:
11
name: Lint
12
- runs-on: [self-hosted]
+ runs-on: [self-hosted, linux]
13
+ timeout-minutes: 10
14
steps:
15
- name: Checkout code
16
uses: actions/checkout@v4
@@ -32,7 +33,8 @@ jobs:
32
33
34
test:
35
name: Test
36
37
+ timeout-minutes: 15
38
needs: lint
39
40
@@ -55,3 +57,16 @@ jobs:
55
57
run: npm test
56
58
env:
59
CI: true
60
+
61
+ cleanup:
62
+ name: Cleanup
63
64
+ needs: [lint, test]
65
+ if: always()
66
+ steps:
67
+ - name: Clean workspace
68
+ run: |
69
+ rm -rf node_modules/
70
+ rm -rf .npm/
71
+ npm cache clean --force
72
+ continue-on-error: true
0 commit comments