diff options
author | Martin Schulze <37703201+martin-schulze-vireso@users.noreply.github.com> | 2021-12-10 01:56:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 01:56:24 +0300 |
commit | 5497120d6602fba7e9499c8e38244dc3bde9e020 (patch) | |
tree | 03cf249d23f1825babd34e2451c378ad64f0086e | |
parent | 34551b1d7f8c7b677c1a66fc0ac140d6223409e5 (diff) |
Add Github Action for running tests
-rw-r--r-- | .github/workflows/node.js.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..cd4ae0d --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,23 @@ +# This workflow will do a clean install of node dependencies, cache/restore them, 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: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + cache: 'npm' + - run: npm ci + - run: npm test |