Skip to content

Feature/update dependencies #137

Feature/update dependencies

Feature/update dependencies #137

Workflow file for this run

name: build
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test:coverage
- name: Generate coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel: true
build-typescript:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm install
- name: Build Typescript
run: npm run build:declaration
build-api-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm install
- name: Build API docs
run: npm run docs:build
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coverage Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true