diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d66d6b0..5b609b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,5 +22,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + - run: npm ci - - run: npx eslint . + - run: npm run lint + - run: npm run build diff --git a/package.json b/package.json index f7ca27d..abe598f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "homepage": "https://github.com/garraflavatra/trmclr#readme", "scripts": { "build": "rm -rf dist && tsc && rollup index.mjs -f umd -n trmclr -o dist/index.cjs", - "lint": "eslint index.js" + "lint": "eslint index.mjs" }, "devDependencies": { "@garraflavatra/yeslint": "^1.2.0",