Bump send and express #666
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |