chore(dogfood): update nodejs installation method (#11339)

This commit is contained in:
Muhammad Atif Ali 2023-12-26 16:53:41 +03:00 committed by GitHub
parent 0ebd656cd1
commit e3a1bdb60d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,7 @@ on:
workflow_dispatch:
jobs:
deploy_image:
build_image:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Checkout
@ -53,7 +53,7 @@ jobs:
cache-to: type=inline
deploy_template:
needs: deploy_image
needs: build_image
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:

View File

@ -199,7 +199,6 @@ RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygi
# Install frontend utilities
RUN apt-get update && \
# Node.js (from nodesource) and Yarn (from yarnpkg)
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
apt-get install --yes --quiet \
nodejs yarn \
# Install browsers for e2e testing

View File

@ -1 +1 @@
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x jammy main
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main