Skip to content

Commit 48048d5

Browse files
Merge pull request #25 from LIT-Protocol/github-actions-update
Update PR checks Github Actions
2 parents 252fcbf + 9d28444 commit 48048d5

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

.github/workflows/pr_checks.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515
steps:
16-
- name: Install PNPM
17-
uses: pnpm/action-setup@v2
18-
with:
19-
version: 8.15.5
2016
- name: Checkout repo
2117
uses: actions/checkout@v4
2218
with:
2319
fetch-depth: 0
20+
- name: Install PNPM
21+
uses: pnpm/action-setup@v4
2422
- name: Set up Node.js
25-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2624
with:
27-
node-version-file: '.nvmrc'
25+
node-version-file: 'package.json'
2826
cache: 'pnpm'
2927
- name: Install project dependencies
3028
run: pnpm install
@@ -41,18 +39,16 @@ jobs:
4139
runs-on: ubuntu-latest
4240
timeout-minutes: 10
4341
steps:
44-
- name: Install PNPM
45-
uses: pnpm/action-setup@v2
46-
with:
47-
version: 8.15.5
4842
- name: Checkout repo
4943
uses: actions/checkout@v4
5044
with:
5145
fetch-depth: 0
46+
- name: Install PNPM
47+
uses: pnpm/action-setup@v4
5248
- name: Set up Node.js
53-
uses: actions/setup-node@v3
49+
uses: actions/setup-node@v4
5450
with:
55-
node-version-file: '.nvmrc'
51+
node-version-file: 'package.json'
5652
cache: 'pnpm'
5753
- name: Install project dependencies
5854
run: pnpm install

bin/validateJSONRecipients.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { recipientDetailSchema, SUPPORTED_LIT_NETWORKS } from 'lit-task-auto-top
22
// eslint-disable-next-line import/no-extraneous-dependencies
33
import { z } from 'zod';
44

5-
import rawDatilTestRecipientList from '../worker/recipient_list_datil-test.json' assert { type: 'json' };
6-
import rawDatilRecipientList from '../worker/recipient_list_datil.json' assert { type: 'json' };
5+
import rawDatilTestRecipientList from '../worker/recipient_list_datil-test.json' with { type: 'json' };
6+
import rawDatilRecipientList from '../worker/recipient_list_datil.json' with { type: 'json' };
77

88
const recipientListSchema = z.array(recipientDetailSchema);
99

0 commit comments

Comments
 (0)