Skip to content

Commit

Permalink
fix: minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zzau13 committed Jun 9, 2023
1 parent d0b3583 commit 920c17f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 51 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/test.yml
Expand Up @@ -10,30 +10,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: lts/gallium

- uses: pnpm/action-setup@v2.2.4
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
- name: Install Node.js
uses: actions/setup-node@v3
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
node-version: lts/gallium
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -42,7 +42,7 @@
"license": "MIT",
"dependencies": {
"lodash.clonedeep": "^4.5.0",
"lru-cache": "~9.1.2"
"lru-cache": "^9.1.2"
},
"devDependencies": {
"@commitlint/cli": "17.6.5",
Expand All @@ -53,7 +53,7 @@
"@types/node": "20.2.5",
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"@vitest/coverage-c8": "0.32.0",
"@vitest/coverage-v8": "0.32.0",
"dotenv-cli": "7.2.1",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
Expand Down
59 changes: 26 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 920c17f

Please sign in to comment.