Skip to content

Commit

Permalink
Upgrade dependencies and migrate to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Oct 21, 2023
1 parent ab73936 commit eb6c937
Show file tree
Hide file tree
Showing 10 changed files with 9,646 additions and 33,284 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/main.yml
Expand Up @@ -31,26 +31,35 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Cache Packages
id: cache
uses: actions/cache@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
version: 8
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
timeout-minutes: 1
${{ runner.os }}-pnpm-store-
- name: Install Packages
run: npm ci
run: pnpm install
timeout-minutes: 3

- name: Validate
if: "!startsWith(github.ref, 'refs/tags/')"
run: npm run validate
run: pnpm run validate
timeout-minutes: 3

- name: Publish code coverage
Expand Down
3 changes: 0 additions & 3 deletions lerna.json
@@ -1,6 +1,3 @@
{
"packages": [
"packages/*"
],
"version": "0.10.0"
}

0 comments on commit eb6c937

Please sign in to comment.