Skip to content

Merge branch 'main' of github.com:Onboardbase/secure-log #32

Merge branch 'main' of github.com:Onboardbase/secure-log

Merge branch 'main' of github.com:Onboardbase/secure-log #32

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['14.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}