Skip to content

Commit

Permalink
feat/migrate-from-npm-to-pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhtripathigroww committed Mar 15, 2023
1 parent eea6270 commit b453762
Show file tree
Hide file tree
Showing 5 changed files with 14,468 additions and 41,395 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/base-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,28 @@ jobs:
working-directory: './${{env.package_dir}}/${{env.package_name}}'
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 7

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/setup-node@v2
with:
node-version: 16.14.0
registry-url: https://registry.npmjs.org/

- uses: actions/cache@v2
with:
path: '~/.npm'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-pnpm-store-
- name: Check package version
id: cpv
Expand Down
Loading

0 comments on commit b453762

Please sign in to comment.