Skip to content

fix: adds tslib as peerDependencies to hijri and jalaali packages to … #220

fix: adds tslib as peerDependencies to hijri and jalaali packages to …

fix: adds tslib as peerDependencies to hijri and jalaali packages to … #220

Workflow file for this run

name: build&test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Test
run: yarn test:coverage
- name: Upload codecov
run: npx codecov