diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c1c137..5002990 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,21 +13,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js - uses: actions/setup-node@v3 + - uses: actions/setup-node@v3 with: node-version: 20.x - - name: Cache node_modules - id: cache-node_modules + - id: cache-node_modules uses: actions/cache@v3 with: path: node_modules key: node_modules-${{ hashFiles('package.json', 'package-lock.json') }} - - name: npm ci - if: steps.cache-node_modules.outputs.cache-hit != 'true' + - if: steps.cache-node_modules.outputs.cache-hit != 'true' run: npm ci - - name: test - run: npm test + - run: npm test