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.
This commit is contained in:
@@ -3,10 +3,8 @@ name: ci
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths-ignore: [www/**]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths-ignore: [www/**]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
@@ -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/
|
||||
Reference in New Issue
Block a user