Install Node in CI containers so checkout post-steps can run.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8,6 +8,12 @@ jobs:
|
|||||||
image: golang:latest
|
image: golang:latest
|
||||||
options: --network host
|
options: --network host
|
||||||
steps:
|
steps:
|
||||||
|
# Node-Actions (checkout / upload-artifact) brauchen node im Container
|
||||||
|
- name: Install Node.js
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y --no-install-recommends nodejs npm
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -41,6 +47,11 @@ jobs:
|
|||||||
image: ghcr.io/charmbracelet/vhs:latest
|
image: ghcr.io/charmbracelet/vhs:latest
|
||||||
options: --network host
|
options: --network host
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node.js and vim
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y --no-install-recommends nodejs npm vim
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -53,11 +64,6 @@ jobs:
|
|||||||
- name: Make binary executable
|
- name: Make binary executable
|
||||||
run: chmod +x ./bin/tm
|
run: chmod +x ./bin/tm
|
||||||
|
|
||||||
- name: Install vim (used as EDITOR in the tape)
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y --no-install-recommends vim
|
|
||||||
|
|
||||||
- name: Record demo
|
- name: Record demo
|
||||||
run: vhs demo.tape
|
run: vhs demo.tape
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user