From 21c137d5be6c16ae461ee557de1b1b444e4d6db2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 16 Jul 2022 09:17:59 -0700 Subject: Rename actions --- .github/workflows/legacy.yml | 21 +++++++++++++++++++++ .github/workflows/modern.yml | 23 +++++++++++++++++++++++ .github/workflows/new.yml | 23 ----------------------- .github/workflows/old.yml | 21 --------------------- 4 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 .github/workflows/legacy.yml create mode 100644 .github/workflows/modern.yml delete mode 100644 .github/workflows/new.yml delete mode 100644 .github/workflows/old.yml (limited to '.github/workflows') diff --git a/.github/workflows/legacy.yml b/.github/workflows/legacy.yml new file mode 100644 index 00000000..1fb5da8e --- /dev/null +++ b/.github/workflows/legacy.yml @@ -0,0 +1,21 @@ +name: Legacy App Lint + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + cache: npm + cache-dependency-path: package-lock.json + - run: npm ci --ignore-scripts + - run: npm run lint diff --git a/.github/workflows/modern.yml b/.github/workflows/modern.yml new file mode 100644 index 00000000..56e2810b --- /dev/null +++ b/.github/workflows/modern.yml @@ -0,0 +1,23 @@ +name: Modern App Lint + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + cache: npm + cache-dependency-path: modern/package-lock.json + - run: npm ci + working-directory: modern + - run: npm run lint + working-directory: modern diff --git a/.github/workflows/new.yml b/.github/workflows/new.yml deleted file mode 100644 index 82e7f91e..00000000 --- a/.github/workflows/new.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: New App Lint - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - cache: npm - cache-dependency-path: modern/package-lock.json - - run: npm ci - working-directory: modern - - run: npm run lint - working-directory: modern diff --git a/.github/workflows/old.yml b/.github/workflows/old.yml deleted file mode 100644 index e9b9fb27..00000000 --- a/.github/workflows/old.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Old App Lint - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - cache: npm - cache-dependency-path: package-lock.json - - run: npm ci --ignore-scripts - - run: npm run lint -- cgit v1.2.3