mirror of https://github.com/coder/coder.git
chore(dogfood): update nodejs installation method (#11339)
This commit is contained in:
parent
0ebd656cd1
commit
e3a1bdb60d
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue