Use Node 16 across the project

This commit is contained in:
Andreas Nedbal 2023-10-15 13:13:52 +02:00 committed by Andreas Nedbal
parent 439797ee1e
commit e3e45acf9f
3 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ ARG GID=1000
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get update -qq \ RUN apt-get update -qq \
&& apt-get install -y --no-install-recommends build-essential \ && apt-get install -y --no-install-recommends build-essential \

View File

@ -43,10 +43,10 @@ jobs:
uses: tj-actions/changed-files@v39 uses: tj-actions/changed-files@v39
with: with:
files: "**/*.ts" files: "**/*.ts"
- name: Set up Node 14 - name: Set up Node 16
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '14' node-version: '16'
cache: 'yarn' cache: 'yarn'
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'
- name: Install node modules - name: Install node modules
@ -92,10 +92,10 @@ jobs:
uses: tj-actions/changed-files@v39 uses: tj-actions/changed-files@v39
with: with:
files: "**/*.scss" files: "**/*.scss"
- name: Set up Node 14 - name: Set up Node 16
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '14' node-version: '16'
cache: 'yarn' cache: 'yarn'
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'
- name: Install node modules - name: Install node modules

View File

@ -48,10 +48,10 @@ jobs:
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
bundler-cache: true bundler-cache: true
- name: Set up Node 14 - name: Set up Node 16
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '14' node-version: '16'
cache: 'yarn' cache: 'yarn'
- name: Copy default configuration - name: Copy default configuration
run: | run: |