From e3defa8e74df9730083181b667f9e86e8bf6c44c Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 13 Jun 2023 18:30:20 +1000 Subject: [PATCH] chore: remove `www` workflow (#1282) This change removes the `www` workflow, simplifying CI to one workflow. This is made more accessible, thanks to #1281. This also fixes PR merging nits for when the affected files lie only within the `/www` folder. E.g. https://github.com/denoland/fresh/pull/1259#issuecomment-1586050738 The same checks in the `www` workflow are performed in the `ci` workflow. --- .github/workflows/ci.yml | 2 -- .github/workflows/www.yml | 37 ------------------------------------- 2 files changed, 39 deletions(-) delete mode 100644 .github/workflows/www.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 935e10f2..fec1690b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,8 @@ name: ci on: push: branches: [main] - paths-ignore: [www/**] pull_request: branches: [main] - paths-ignore: [www/**] jobs: test: diff --git a/.github/workflows/www.yml b/.github/workflows/www.yml deleted file mode 100644 index e29466e8..00000000 --- a/.github/workflows/www.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: www - -on: - push: - branches: [main] - paths: [www/**] - pull_request: - branches: [main] - paths: [www/**] - -jobs: - test: - runs-on: ubuntu-latest - timeout-minutes: 5 - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup Deno - uses: denoland/setup-deno@v1 - - - name: Verify formatting - run: deno fmt --check - working-directory: www/ - - - name: Run linter - run: deno lint - working-directory: www/ - - - name: Type check website - run: deno check main.ts dev.ts - working-directory: www/ - - - name: Run tests - run: deno test -A --parallel - working-directory: www/