From e0a5e650ba33f4add5413124c84d340916065f3c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 10 Jul 2021 15:31:39 -0700 Subject: Enable new app linting --- .github/workflows/new.yml | 20 ++++++++++++++++++++ .github/workflows/node.js.yml | 18 ------------------ .github/workflows/old.yml | 18 ++++++++++++++++++ 3 files changed, 38 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/new.yml delete mode 100644 .github/workflows/node.js.yml create mode 100644 .github/workflows/old.yml (limited to '.github') diff --git a/.github/workflows/new.yml b/.github/workflows/new.yml new file mode 100644 index 00000000..58956106 --- /dev/null +++ b/.github/workflows/new.yml @@ -0,0 +1,20 @@ +name: New App Lint + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - run: npm install + working-directory: modern + - run: npm run lint + working-directory: modern diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml deleted file mode 100644 index a4ba2ea9..00000000 --- a/.github/workflows/node.js.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Node.js CI - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - - run: npm install - - run: npm run lint diff --git a/.github/workflows/old.yml b/.github/workflows/old.yml new file mode 100644 index 00000000..2f9f39f0 --- /dev/null +++ b/.github/workflows/old.yml @@ -0,0 +1,18 @@ +name: Old App Lint + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - run: npm install + - run: npm run lint -- cgit v1.2.3