Skip to content

Commit

Permalink
Update action versions in ci.yml and autoformat
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jan 20, 2024
1 parent 63be814 commit 16a6af1
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: CI
on: [push, pull_request]

env:
RDB_DB: postgres
RDB_DB: postgres
RDB_USER: postgres
RDB_PASS: postgres
DEBUG: true
DB_HOST: localhost
DB_PORT: 5432 # defined below in the services.postgres.ports (the first one)
LANG: en_US.UTF-8
DEBUG: true
DB_HOST: localhost
DB_PORT: 5432 # defined below in the services.postgres.ports (the first one)
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8
LC_ALL: en_US.UTF-8

jobs:
build-and-test:
Expand All @@ -36,24 +36,24 @@ jobs:

steps:
- name: Checkout ReBench
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '19'

- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: node-modules
cache-name: node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package.json', 'package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
${{ runner.os }}-
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package.json', 'package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
${{ runner.os }}-
- name: NPM CI
run: |
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Run Tests
run: |
npm test
- name: Upload image difference, if there are any
if: failure()
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 16a6af1

Please sign in to comment.