Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Comb 2 and Node 12 support (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinsmith1024 authored Feb 17, 2021
1 parent 6dba197 commit 087956a
Show file tree
Hide file tree
Showing 7 changed files with 2,038 additions and 38 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: 'Test'
on:
pull_request:
branches:
- '*'
push:
branches:
- master
jobs:
test:
name: Test
timeout-minutes: 20
runs-on: ubuntu-20.04
strategy:
fail-fast: false
max-parallel: 0
matrix:
# 14 is not working yet
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: docker-compose build
- run: docker-compose up -d mysql postgres
- run: sleep 10
# sandbox DB is created by the compose files
- run: docker-compose run patio psql -h localhost -c 'create database sandbox2;' -U postgres
- run: docker-compose run patio mysql -h 0.0.0.0 -e 'create database sandbox2;'
- run: npm install -g grunt-cli
- run: npm install
- run: npm run test
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10
FROM node:12

ENV DEBIAN_FRONTEND=noninteractive

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
image: postgres:9.6
environment:
POSTGRES_DB: sandbox
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- "5432:5432"

Expand Down
Loading

0 comments on commit 087956a

Please sign in to comment.