Install node
This commit is contained in:
parent
7a7d004fc8
commit
71b1f984b5
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,15 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ruby-latest
|
runs-on: ruby-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
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: docker/setup-buildx-action@v3
|
- uses: docker/setup-buildx-action@v3
|
||||||
- uses: docker/build-push-action@v5
|
- uses: docker/build-push-action@v5
|
||||||
|
|
Loading…
Reference in a new issue