Skip to content

Release/v4.0.0 beta.2 (#54) #5

Release/v4.0.0 beta.2 (#54)

Release/v4.0.0 beta.2 (#54) #5

Workflow file for this run

name: Testing
on:
push:
workflow_dispatch:
jobs:
unit_tests:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v2
- name: install node
uses: actions/setup-node@v2
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: eslint checks
run: pnpm run lint