Try with setupruby on new image
This commit is contained in:
parent
67f47e7d22
commit
a58c05deb7
1 changed files with 5 additions and 11 deletions
|
@ -5,17 +5,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ruby-latest
|
runs-on: cth-ubuntu-latest
|
||||||
steps:
|
# runs-on: ruby-latest
|
||||||
- name: Install Node
|
- uses: ruby/setup-ruby@v1
|
||||||
run: |
|
with:
|
||||||
apt-get update
|
ruby-version: 3.3.1
|
||||||
apt-get install git ca-certificates curl gnupg --yes
|
|
||||||
mkdir -p /etc/apt/keyrings
|
|
||||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y nodejs
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue