Skip to content

Commit

Permalink
ci: fix github action test
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Dec 14, 2019
1 parent 1d9d424 commit c3a95c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
node_version: [10, 12, 13]
os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ubuntu-latest]

steps:
- name: Checkout Project
Expand All @@ -31,5 +31,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles(matrix.os == 'windows-latest' && '**\yarn.lock' || '**/yarn.lock') }}
- name: Install Dependencies
run: yarn
- name: Run graphql-pokemon
run: docker container run --name graphql-pokemon -d --expose 8080 -p 4000:8080 -it favware/graphql-pokemon:latest
- name: Test
run: yarn test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"typescript": "^3.7.2"
},
"engines": {
"node": ">=12",
"node": ">=10",
"npm": ">=6"
},
"repository": {
Expand Down

0 comments on commit c3a95c6

Please sign in to comment.