Skip to content

Upgrade tested node version to 20.x #47

Upgrade tested node version to 20.x

Upgrade tested node version to 20.x #47

Workflow file for this run

name: nodeunit tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'
- run: |
sudo apt-get install postgresql libpq-dev
sudo service postgresql start
sudo -u postgres createuser --superuser runner
sudo -u postgres createdb sharejs_example
- run: npm install
- run: npm run test