Skip to content

Commit

Permalink
use package-lock.json for optimize CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Oct 11, 2022
1 parent 3979c3c commit 58771c2
Show file tree
Hide file tree
Showing 5 changed files with 34,714 additions and 11 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -14,8 +14,7 @@ jobs:
with:
node-version: 18
cache: npm
cache-dependency-path: '**/package.json'
- run: npm i
- run: npm ci
- run: npm run lint

karma:
Expand All @@ -27,8 +26,7 @@ jobs:
with:
node-version: 18
cache: npm
cache-dependency-path: '**/package.json'
- run: npm i
- run: npm ci
- run: npx playwright install-deps
- run: npm run ci-karma

Expand All @@ -50,6 +48,5 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: npm
cache-dependency-path: '**/package.json'
- run: npm i
- run: npm ci
- run: npm run ci-tests
1 change: 0 additions & 1 deletion .gitignore
@@ -1,5 +1,4 @@
npm-shrinkwrap.json
package-lock.json
yarn.lock
node_modules/
*.tmp
Expand Down
1 change: 0 additions & 1 deletion .npmrc
@@ -1,4 +1,3 @@
audit=false
fund=false
loglevel=error
package-lock=false

0 comments on commit 58771c2

Please sign in to comment.