Skip to content

Commit

Permalink
Call lint before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
yoriiis committed Jul 3, 2023
1 parent d152b2f commit 1fa1a14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Lint

on:
workflow_dispatch:
workflow_call:
merge_group:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ on:
types: [published]

jobs:
lint:
uses: .github/workflows/lint.yml@main

npm:
needs: lint
uses: yoriiis/actions/.github/workflows/npm-publish.yml@main
with:
node-version: 16
Expand Down

0 comments on commit 1fa1a14

Please sign in to comment.