Clean up
This commit is contained in:
parent
0d65f01797
commit
8064972c15
6 changed files with 17 additions and 28 deletions
|
|
@ -3,8 +3,10 @@ name: Deploy to Pages
|
|||
on:
|
||||
push:
|
||||
branches: ['main']
|
||||
|
||||
pull_request:
|
||||
branches: ['main']
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
|
@ -28,33 +30,23 @@ jobs:
|
|||
run: npm ci
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Typecheck
|
||||
run: npm run typecheck
|
||||
|
||||
- name: Check for em dashes
|
||||
run: npm run qa:no-em-dashes
|
||||
run: |
|
||||
npm run lint
|
||||
npm run typecheck
|
||||
npm run qa:no-em-dashes
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Astro audit
|
||||
run: npm run qa:astro-audit
|
||||
- name: QA build
|
||||
run: |
|
||||
npm run qa:astro-audit
|
||||
npm run qa:links
|
||||
npm run qa:no-js
|
||||
npm run qa:overflow
|
||||
npm run qa:preview-cropping
|
||||
|
||||
- name: Check internal links
|
||||
run: npm run qa:links
|
||||
|
||||
- name: Check for unexpected JavaScript
|
||||
run: npm run qa:no-js
|
||||
|
||||
- name: Check viewport overflow
|
||||
run: npm run qa:overflow
|
||||
|
||||
- name: Check preview cropping
|
||||
run: npm run qa:preview-cropping
|
||||
|
||||
- name: Copy build to host pages mount
|
||||
- name: On main, Copy build to host pages mount
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue