From ae203f06dbc0f5ff9458c25354a3e3ef82042c87 Mon Sep 17 00:00:00 2001 From: Dan6erbond Date: Tue, 25 May 2021 23:58:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20Lint=20on=20PR=20Workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint-on-pr.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/lint-on-pr.yml diff --git a/.github/workflows/lint-on-pr.yml b/.github/workflows/lint-on-pr.yml new file mode 100644 index 0000000..a69b9da --- /dev/null +++ b/.github/workflows/lint-on-pr.yml @@ -0,0 +1,19 @@ +name: Lint package on pull request +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - run: yarn install + - run: yarn lint