We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f96199 commit 7df7f61Copy full SHA for 7df7f61
.github/workflows/self-hosted-ci2.yml
@@ -0,0 +1,31 @@
1
+name: Self-Hosted CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build-and-test:
12
+ runs-on: self-hosted
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v3
17
18
+ - name: Log Node.js version
19
+ run: node --version
20
21
+ - name: Log available disk space
22
+ shell: pwsh
23
+ run: |
24
+ Write-Output "Checking available disk space:"
25
+ Get-PSDrive -PSProvider 'FileSystem' | Select-Object Name, Used, Free
26
27
+ - name: Install dependencies
28
+ run: npm ci
29
30
+ - name: Run tests
31
+ run: npm test -- --watch=false --browsers=ChromeHeadless --no-progress
0 commit comments