diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8b11e97d..e51da2f6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,6 +36,10 @@ jobs: name: Install dependencies run: npm ci + - id: lint + name: Lint code + run: npm run lint:check + - id: build-package name: Build package run: npm run build:package diff --git a/package.json b/package.json index 2e438aed..9e3555ef 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lint:check": "eslint", "format": "prettier . --write", "format:check": "prettier . --check", - "build:package": "rimraf ./dist && svelte-package -i src && publint", + "build:package": "rimraf ./dist && svelte-package -i ./src && publint", "build:chromatic": "storybook build -o docs", "build:docs": "storybook build -o docs && touch ./docs/.nojekyll", "build": "npm-run-all build:package build:docs",