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

Commit

Permalink
add test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Aug 31, 2020
1 parent d8759f6 commit 4aef426
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 149 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: saucectl pipeline

on:
pull_request:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm install
- run: npm test
141 changes: 3 additions & 138 deletions package-lock.json

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

20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,28 @@
"name": "testcafe-reporter-prometheus-multi",
"version": "0.1.10",
"description": "Prometheus reporter for testcafe allowing for alerts based on multiple executions",
"main": "lib/index.js",
"author": "Web Development Team <webdev@saucelabs.com>",
"homepage": "https://opensource.saucelabs.com/testcafe-reporter-prometheus-multi",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/saucelabs/web-tools.git"
},
"keywords": [
"testcafe",
"reporter",
"prometheus"
],
"main": "lib/index.js",
"author": "Web Development Team <webdev@saucelabs.com>",
"license": "MIT",
"engines": {
"node": ">=12.18.0",
"npm": ">=6.14.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/saucelabs/web-tools.git"
},
"bugs": {
"url": "https://github.com/saucelabs/web-tools/issues"
},
"homepage": "https://github.com/saucelabs/web-tools#readme",
"devDependencies": {
"chai": "4.2.0",
"jest": "^26.4.2",
"sinon": "9.0.2"
"jest": "^26.4.2"
},
"dependencies": {
"prom-client": "12.0.0"
Expand Down

0 comments on commit 4aef426

Please sign in to comment.