We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 823d267 commit 0040394Copy full SHA for 0040394
.github/ci.yml
@@ -10,10 +10,6 @@ jobs:
10
build-and-test:
11
runs-on: ubuntu-latest
12
13
- strategy:jobs:
14
- build-and-test:
15
- runs-on: ubuntu-latest
16
-
17
strategy:
18
matrix:
19
node-version: [22.x]
@@ -22,14 +18,17 @@ jobs:
22
- name: Checkout code
23
uses: actions/checkout@v4
24
20
25
- - name: Setup Node.js and cache npm
21
+ - name: Enable Corepack
+ run: corepack enable
+
+ - name: Setup Node.js & cache npm
26
uses: actions/setup-node@v4
27
with:
28
node-version: ${{ matrix.node-version }}
29
- cache: 'npm'
+ cache: npm
30
31
- name: Install dependencies
32
- run: npm ci
+ run: npm install --frozen-lockfile
33
34
- name: Lint code
35
run: npm run lint
@@ -39,4 +38,3 @@ jobs:
39
38
40
- name: Build project
41
run: npm run build
42
0 commit comments