Skip to content

Commit

Permalink
chore: switch back to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
p-kuen committed May 1, 2024
1 parent 7bfb64b commit f043300
Show file tree
Hide file tree
Showing 4 changed files with 1,072 additions and 1,610 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,23 @@ jobs:
with:
node-version: '20'
registry-url: https://npm.pkg.github.com/
- name: Start the linter
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 9
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Start the test
run: |
npm install
npm run test
pnpm install
pnpm test
Loading

0 comments on commit f043300

Please sign in to comment.