Skip to content

Commit

Permalink
feat(ci): add github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mradkov committed Jun 10, 2021
1 parent 5697753 commit 3e0589e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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: Node.js CI

on: [push]

jobs:
build-and-test:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@master
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
before_install:
- run: docker-compose up -d
- run: npm install
- run: npm run test

0 comments on commit 3e0589e

Please sign in to comment.