Skip to content

Update ci.yml

Update ci.yml #2

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm ci
- name: Run ESLint
run: npm run lint
- name: Build library
run: npm run build
- name: Run unit tests
run: npm run test:ci
- name: Build
run: npm run build
- name: coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}