Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

16 changes: 5 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v5
with:
node-version: lts/*
cache: 'npm'
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
- run: npm run lint
- run: pnpm install
- run: pnpm lint
8 changes: 4 additions & 4 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
group: manual
cancel-in-progress: true
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v5
with:
node-version: lts/*
cache: 'npm'
- run: npm ci
- run: pnpm install
- run: node scripts/helloSecrets
if: ${{ github.event.inputs.documentId == 'private.secrets' }}
env:
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Prettier

on:
Expand All @@ -15,16 +14,12 @@ jobs:
name: 🤔
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v5
with:
cache: npm
node-version: lts/*
- run: npm ci --ignore-scripts --only-dev
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3
with:
path: node_modules/.cache/prettier/.prettier-cache
key: prettier-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.gitignore') }}
- run: pnpm install
- name: check if workflows needs prettier
run: npx prettier --cache --check ".github/workflows/**/*.yml" || (echo "An action can't make changes to actions, you'll have to run prettier manually" && exit 1)
- run: npx prettier --ignore-path .gitignore --cache --write .
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/social.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,22 @@ jobs:
group: ${{ github.event.inputs.documentId }}-${{ github.event.inputs.force }}
cancel-in-progress: true
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v5
with:
node-version: lts/*
- id: cache
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3
with:
path: |
./blazing-scripts/createSocialImage.js
key: modules-${{ hashFiles('package-lock.json') }}-${{ hashFiles('scripts/*.ts') }}-${{ hashFiles('intl.config.json') }}
- run: npm install --ignore-scripts
key: modules-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('scripts/*.ts') }}-${{ hashFiles('intl.config.json') }}
- run: pnpm install
if: steps.cache.outputs.cache-hit != 'true'
- run: npm run build:ci
- run: pnpm build:ci
if: steps.cache.outputs.cache-hit != 'true'
- run: npm run ci:createSocialImage ${{ github.event.inputs.documentId }} ${{ github.event.inputs.force }}
- run: pnpm ci:createSocialImage ${{ github.event.inputs.documentId }} ${{ github.event.inputs.force }}
env:
SANITY_API_TOKEN: ${{ secrets.SANITY_API_TOKEN }}
SANITY_API_WRITE_TOKEN: ${{ secrets.SANITY_API_WRITE_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,4 @@ studio/.env.development
.sanity
# these are scripts compiled from /scripts, they're create on the CI so it doesn't need to be version controlled
blazing-scripts
.env*.local
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.next
public/studio
encrypted.json
blazing-scripts
blazing-scripts
pnpm-lock.yaml
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Cody Olsen
Copyright (c) 2025 Cody Olsen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">

[![Social Media Card](/public/somecard-en.png)](https://cv.cocody.dev)
[![Social Media Card](/public/somecard-en.png)](https://cv.creativecody.dev)

</p>
Loading