1 parent b2c19d0 commit fbf9578Copy full SHA for fbf9578
1 file changed
.github/workflows/main.yml
@@ -11,6 +11,22 @@ jobs:
11
runs-on: ubuntu-latest
12
steps:
13
- uses: actions/checkout@v6
14
+ - name: Remove runner-preinstalled Node
15
+ run: sudo rm -f /usr/local/bin/node /usr/local/bin/npm /usr/local/bin/npx /usr/local/bin/corepack
16
+ shell: bash
17
- name: xo-install run
18
+ id: install
19
run: sudo ./xo-install.sh --install
20
shell: bash
21
+ continue-on-error: true
22
+ - name: Upload install logs
23
+ if: steps.install.outcome == 'failure'
24
+ uses: actions/upload-artifact@v7
25
+ with:
26
+ name: xo-install-logs
27
+ path: logs/
28
+ if-no-files-found: warn
29
+ - name: Fail if install failed
30
31
+ run: exit 1
32
0 commit comments