From 634ef1445f1b6b87385f83ad397f6a68fb06a0fb Mon Sep 17 00:00:00 2001 From: Kyle Peacock Date: Thu, 25 Apr 2024 09:47:38 -0700 Subject: [PATCH] chore: replaces globle npm install with setup-node --- .github/workflows/size-limit.yml | 5 ++++- docs/CHANGELOG.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 9b5143fc0..d028874e2 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -7,7 +7,10 @@ jobs: CI_JOB_NUMBER: 1 steps: - uses: actions/checkout@v1 - - run: npm install -g npm + - uses: actions/setup-node@v3 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' # - run: npm run size-limit --workspaces --if-present # commented out until the job can be configured diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index e006e21fa..806abbb25 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,6 +6,7 @@ - feat: make `IdbStorage` `get/set` methods generic - chore: add context to errors thrown when failing to decode CBOR values. +- chore: replaces globle npm install with setup-node for size-limit action ## [1.2.0] - 2024-03-25