diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2c086dd..7f975f1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,6 +2,7 @@ name: Lint on: workflow_dispatch: + workflow_call: push: branches: - main diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a2348f3..ef58b9e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -5,7 +5,11 @@ on: types: [published] jobs: + lint: + uses: yoriiis/chunks-webpack-plugin/.github/workflows/lint.yml@main + npm: + needs: lint uses: yoriiis/actions/.github/workflows/npm-publish.yml@main with: node-version: 16