Skip to content

Commit

Permalink
Merge pull request #413 from range-of-motion/use-node-18-in-github-ac…
Browse files Browse the repository at this point in the history
…tions-and-dockerfile

Use Node.js 18 in GitHub Actions and Dockerfile
  • Loading branch information
range-of-motion authored Aug 13, 2023
2 parents 4588771 + 1168060 commit 95f8477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
php-version: '8.1'
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Set up .env
run: php -r "file_exists('.env') || copy('.env.ci', '.env');"
- name: Install Composer dependencies
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
php-version: '8.1'
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Set up .env
run: php -r "file_exists('.env') || copy('.env.ci', '.env');"
- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN install-php-extensions pdo_mysql zip calendar gd
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

# Install Node.js
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs

WORKDIR /var/www

0 comments on commit 95f8477

Please sign in to comment.