Skip to content

Commit

Permalink
amazon -> aws and upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-krail committed Feb 3, 2024
1 parent 5b4057b commit 2c9afe7
Show file tree
Hide file tree
Showing 1,112 changed files with 16,903 additions and 21,148 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: jdx/mise-action@v2

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4
with:
node-version-file: .nvmrc
cache: yarn
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Build
env:
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,22 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: jdx/mise-action@v2

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4
with:
node-version-file: .nvmrc
cache: yarn
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Build
env:
Expand All @@ -41,7 +49,7 @@ jobs:
git log > dist/log
- name: Deploy GitHub Pages
uses: crazy-max/ghaction-github-pages@v3
uses: crazy-max/ghaction-github-pages@v4
with:
build_dir: dist
fqdn: seankrail.dev
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn
yarn build
yarn lint-staged
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
node = "20"
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

Loading

0 comments on commit 2c9afe7

Please sign in to comment.