From b6eb112b13d1346ac1705bb46aa7cd686fa31da7 Mon Sep 17 00:00:00 2001 From: Hex Date: Mon, 20 Nov 2023 10:13:22 +0800 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ac0900b..07bad9d 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -20,11 +20,13 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Install modules + - run: npm i - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm i + - name: Run - run: npm run lint