There was an error while loading. Please reload this page.
1 parent eea1012 commit 6795328Copy full SHA for 6795328
1 file changed
.github/workflows/push.yaml
@@ -10,20 +10,14 @@ jobs:
10
matrix:
11
node-version: [22.x]
12
steps:
13
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
14
- name: Use Node.js ${{ matrix.node-version }}
15
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v4
16
with:
17
node-version: ${{ matrix.node-version }}
18
- - name: Cache node_modules
19
- id: cache-modules
20
- uses: actions/cache@v4
21
- with:
22
- path: node_modules
23
- key: ${{ matrix.node-version }}-${{ runner.OS }}-build-${{ hashFiles('package.json') }}
24
- - name: Build
25
- if: steps.cache-modules.outputs.cache-hit != 'true'
26
- run: npm install
+ cache: npm
+ - name: Install dependencies
+ run: npm ci
27
- name: Lint
28
run: npm run lint:ci
29
- name: Test
0 commit comments