Skip to content

Commit

Permalink
Improve CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
smizell committed Jul 28, 2020
1 parent 9192097 commit 359e7bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: CI
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: "12.x"
- run: npm ci
- run: npm i mocha -g
- run: npm test
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: "12.x"
- run: npm ci
- run: npm test
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "geneva",
"version": "1.2.0",
"version": "1.3.0",
"description": "JSON-Flavored Lisp",
"main": "index.js",
"scripts": {
"test": "mocha"
"test": "./node_modules/mocha/bin/mocha"
},
"bin": {
"geneva": "bin/repl.js"
Expand Down

0 comments on commit 359e7bf

Please sign in to comment.