Skip to content

Commit

Permalink
Merge pull request #333 from benjamine/ci
Browse files Browse the repository at this point in the history
Add CI
  • Loading branch information
Methuselah96 authored Aug 19, 2023
2 parents a8cde4c + 5c31368 commit 135085c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Node.js CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 8.17.0
uses: actions/setup-node@v3
with:
node-version: 8.17.0
cache: 'npm'
- run: npm ci
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"bump": "gulp bump",
"test": "nyc mocha",
"watch": "nodemon --exec \"mocha\"",
"prepublish": "npm run build && npm run build-dist",
"prepublishOnly": "npm run build && npm run build-dist",
"cover-report": "open coverage/lcov-report/index.html",
"cover-publish": "nyc mocha && codeclimate < coverage/lcov.info"
},
Expand Down

0 comments on commit 135085c

Please sign in to comment.