Updated libraries & fixed import #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |