Skip to content

Updated libraries & fixed import #50

Updated libraries & fixed import

Updated libraries & fixed import #50

Workflow file for this run

name: "PR Checklist"
env:
lipe_postinstall: false
on:
pull_request:
branches:
- "master"
paths-ignore:
- docs
- .vscode
jobs:
setup:
runs-on: ubuntu-latest
name: πŸ”§ Setup πŸ“
steps:
- uses: "actions/checkout@v2"
- name: Hash source Folder
env:
hash: ${{ hashFiles('src/**/*') }}
run: |
echo "Project Hash is: $hash"
lint:
needs: setup
runs-on: ubuntu-latest
name: πŸ”Ž Linting 🧹
steps:
- uses: "actions/checkout@v2"
- name: Install Tools
uses: jdx/mise-action@v2
- name: Install Dependencies
run: pnpm install --prefer-offline --frozen-lockfile
- name: Lint Project
uses: wearerequired/lint-action@v1
with:
eslint: true
eslint_dir: "src"
eslint_extensions: ts
build:
needs: lint
runs-on: ubuntu-latest
name: πŸ”¨ Building πŸ“¦
steps:
- uses: "actions/checkout@v2"
- name: Install Tools
uses: jdx/mise-action@v2
- name: Install Dependencies
run: pnpm install --prefer-offline --frozen-lockfile
- name: Build Project
run: pnpm run build
test:
needs: build
runs-on: ubuntu-latest
name: βš—οΈ Testing πŸ‘·πŸΌ
steps:
- uses: "actions/checkout@v2"
- name: Install Tools
uses: jdx/mise-action@v2
- name: Install Dependencies
run: pnpm install --prefer-offline --frozen-lockfile
# - name: Run Unit Tests
# uses: ArtiomTr/jest-coverage-report-action@v2
# with:
# test-script: pnpm test
# package-manager: pnpm
- name: Run Unit Tests
run: pnpm test