Skip to content

add build

add build #3

Workflow file for this run

name: CI
on:
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install node v18
uses: actions/setup-node@v3
with:
node-version: 18.18.0
- name: yarn install
run: yarn install
- name: yarn build
run: yarn build
- name: yarn test
run: yarn test
- name: codecov
uses: codecov/codecov-action@v3
with:
# token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
name: codecov # optional
flags: unittest
fail_ci_if_error: false # optional (default = false)
version: "v0.1.15"
#directory: ./coverage/reports/
#files: ./coverage1.xml,./coverage2.xml
verbose: true # optional (default = false)