Skip to content

Merge pull request #301 from terminusdb/dependabot/npm_and_yarn/webpa… #657

Merge pull request #301 from terminusdb/dependabot/npm_and_yarn/webpa…

Merge pull request #301 from terminusdb/dependabot/npm_and_yarn/webpa… #657

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
skip_if_running:
name: Skip job if already running
runs-on: ubuntu-latest
outputs:
skip: ${{ steps.check_skip.outputs.should_skip }}
steps:
- uses: fkirc/skip-duplicate-actions@master
id: check_skip
with:
concurrent_skipping: same_content_newer
do_not_skip: '["push", "workflow_dispatch"]'
all_checks:
name: All checks
runs-on: ubuntu-latest
needs: skip_if_running
if: needs.skip_if_running.outputs.skip != 'true'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- name: Run terminusdb server
run: docker run --detach --publish 127.0.0.1:6363:6363 terminusdb/terminusdb-server:dev && sleep 3
- name: Install, build and test
run: |
npm ci
npm run build
npm run test
npm run test:integration
- name: Lint
run: npm run lint:check
- name: Genrate test coverage report
run: npm run coveralls-after
- name: Update coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}