e0e3a0ff403ae600a03c6af4a96556413c572030 #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration (CI) | |
run-name: ${{ github.sha }} | |
on: | |
push: | |
paths: | |
- '**.ts' | |
- '**.js' | |
- '**.tsx' | |
- '**.jsx' | |
- '**.astro' | |
- 'src/content/*' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
lint-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Install packages | |
run: npm install | |
- name: Run Lint checks | |
run: npm run lint:check | |
astro-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Install packages | |
run: npm install | |
- name: Run Astro checks | |
run: npm run astro check | |
cypress-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Install packages | |
run: npm install | |
- name: Start up dev server and run Cypress test suite | |
run: npm run dev & npm run test |