diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8bb4e37..f306ce8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,22 +19,22 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Create .env file run: | sed 's/DATABASE_HOST=database/DATABASE_HOST=127.0.0.1/' env.development > env.actions cat env.example env.actions > .env - name: Load .env file uses: xom9ikk/dotenv@v2 - - name: Set up Ruby 3.1 + - name: Set up Ruby 3.2 uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1 + ruby-version: 3.2 bundler-cache: true - - name: Setup up node 16.14.2 - uses: actions/setup-node@v2 + - name: Setup up node 20 + uses: actions/setup-node@v4 with: - node-version: '16.14.2' + node-version: 20 - name: Verify MariaDB connection run: | while ! mysqladmin ping -h"127.0.0.1" -P"3306" --silent; do diff --git a/Dockerfile b/Dockerfile index 1189bf1..51c068a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM ruby:3.1 AS development +FROM ruby:3.2 AS development ARG UNAME=app ARG UID=1000 ARG GID=1000 -ARG NODE_MAJOR=16 +ARG NODE_MAJOR=20 RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \ apt-transport-https