|
@@ -4,7 +4,7 @@ on:
|
|
|
push:
|
|
push:
|
|
|
branches:
|
|
branches:
|
|
|
- main
|
|
- main
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
pull_request:
|
|
pull_request:
|
|
|
branches:
|
|
branches:
|
|
|
- main
|
|
- main
|
|
@@ -20,13 +20,13 @@ jobs:
|
|
|
- name: Setup Node.js
|
|
- name: Setup Node.js
|
|
|
uses: actions/setup-node@v4
|
|
uses: actions/setup-node@v4
|
|
|
with:
|
|
with:
|
|
|
- node-version: 18
|
|
|
|
|
|
|
+ node-version: 20
|
|
|
|
|
|
|
|
- name: Install pnpm
|
|
- name: Install pnpm
|
|
|
- run: npm install -g pnpm
|
|
|
|
|
|
|
+ run: npm install -g pnpm
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
|
- run: pnpm install
|
|
|
|
|
|
|
+ run: pnpm install --frozen-lockfile
|
|
|
|
|
|
|
|
- name: Lint the code
|
|
- name: Lint the code
|
|
|
run: pnpm lint
|
|
run: pnpm lint
|