diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b70a4e8..c154805 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: 15 + - name: Lint and test - run: | npm ci npm run lint diff --git a/package.json b/package.json index 3982425..e4bc0f7 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "type": "module", "scripts": { "build": "babel --delete-dir-on-start --keep-file-extension --env-name production -D --out-dir ./dist src", - "postbuild": "babel -D --ignore node_modules/** --out-dir ./dist/js ./node_modules/@webcomponents/custom-elements/custom-elements.min.js", + "postbuild": "babel -D --ignore node_modules --out-dir ./dist/js ./node_modules/@webcomponents/custom-elements/custom-elements.min.js", "coverage:ci": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --ci --coverage", "lint": "eslint --ext .js,.mjs ./src/js/", "test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js"