diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39f1041..27609ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: 'package.json' + cache: 'npm' + cache-dependency-path: 'package-lock.json' - run: npm ci - run: npm run eslint - run: npm run cspell @@ -23,6 +25,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: 'package.json' + cache: 'npm' + cache-dependency-path: 'package-lock.json' registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm publish --access public