Skip to content

Commit

Permalink
feat: cat pictures, links, and simpler CI (#269)
Browse files Browse the repository at this point in the history
* feat: add more pictures of cats

* feat: add more bookmarks

* chore: simplify/update CI workflows
  • Loading branch information
dustinwhisman authored Apr 20, 2024
1 parent 889cc71 commit c1d0206
Show file tree
Hide file tree
Showing 17 changed files with 40 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check commit message type
uses: gsactions/commit-message-checker@v1
uses: gsactions/commit-message-checker@v2
with:
pattern: '^(feat|fix|docs|style|refactor|test|chore).+'
error: 'Commit messages must begin with a valid commit type.'
Expand All @@ -19,9 +19,9 @@ jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- name: install npm dependencies
Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
name: End to End Tests

on: [pull_request]
on:
workflow_dispatch:
inputs:
type:
description: 'Breadth of tests to run'
required: true
default: 'Default'
type: choice
options:
- Default
- Accessibility

jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Default Playwright tests
run: npm run test:e2e -- --project=Default
- name: Run Playwright tests
run: npm run test:e2e -- --project=${{ inputs.type }}
21 changes: 0 additions & 21 deletions .github/workflows/monitor-accessibility.yml

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
dist
*.njk
*.md
*.yml
21 changes: 21 additions & 0 deletions pages/_data/bookmarks.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,26 @@
"author": "Antoine Mayerowitz",
"authorLink": "https://www.mayerowitz.io/",
"description": "Maybe don't read this if you just want to have fun playing Mario Kart rather than optimizing it to hell. I am unfortunately a min-maxer, though."
},
{
"link": "https://www.nicchan.me/blog/when-security-and-accessibility-clash/",
"title": "When security and accessibility clash: why are banking applications so inaccessible?",
"author": "Nic Chan",
"authorLink": "https://www.nicchan.me/",
"description": "No, arbitrarily making your application harder to use does not make it more secure."
},
{
"link": "https://www.citationneeded.news/ai-isnt-useless/",
"title": "AI isn't useless. But is it worth it?",
"author": "Molly White",
"authorLink": "https://www.citationneeded.news/",
"description": "Unlike cryptocurrency, AI is actually useful for some things, but between the ethical issues, the effects on human labor, and the extraordinary environmental costs, I can't justify using it."
},
{
"link": "https://www.simplethread.com/the-10x-programmer-myth/",
"title": "The 10x Programmer Myth",
"author": "Justin Etheridge",
"authorLink": "https://www.simplethread.com/author/jetheredge/",
"description": "I'd like to think I'm a Rocket Turtle, but I think I'm more of a mix of an Obsessor and a Simplifier."
}
]
Binary file added src/public/images/cats/IMG_20240417_194552825.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/images/cats/IMG_20240418_152839999.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit c1d0206

Please sign in to comment.