Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions .github/workflows/build-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,17 @@ jobs:

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false

- name: Setup NodeJS
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"

- name: Get pnpm store directory
shell: bash
cache: pnpm

- name: Update npm
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-
npm install -g npm@latest
npm --version

- name: Install dependencies
run: pnpm install
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
id-token: write # Required for OIDC
contents: read
contents: write # Required for changesets pushing

jobs:
release:
Expand All @@ -29,17 +29,12 @@ jobs:
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
- name: Get pnpm store directory
shell: bash
cache: pnpm
- name: Update npm
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-
npm install -g npm@latest
npm --version

- name: Install dependencies
run: pnpm install

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.9.0
v24.10.0
Loading