Skip to content

Commit

Permalink
chore: upgrade GH actions to newer versions. closes #272 (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfisher authored Jan 6, 2025
1 parent 06a0c33 commit 1f50ea9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Cache site node modules
id: cache-site-modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./site/node_modules
key: site-build-${{hashFiles('**/site/package-lock.json')}}
Expand All @@ -31,7 +31,7 @@ jobs:

- name: Cache Tags plugin node modules
id: cache-tags-modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{env.GATSBY_TAGS_MODULES}}
key: site-tags-${{hashFiles('**/gatsby-transformer-remark-tags/package-lock.json')}}
Expand All @@ -43,7 +43,7 @@ jobs:

- name: Cache pullquotes plugin node modules
id: cache-pullquotes-modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{env.GATSBY_PULLQUOTE_MODULES}}
key: site-tags-${{hashFiles('**/gatsby-remark-transformer-pullquotes/package-lock.json')}}
Expand All @@ -55,15 +55,15 @@ jobs:

- name: Public output
id: public-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./site/public
key: site-public-${{hashFiles('**/site/public/**')}}
restore-keys: site-public-

- name: Gatsby Cache output
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./site/.cache
key: site-cache-${{hashFiles('**/site/.cache/**')}}
Expand Down

0 comments on commit 1f50ea9

Please sign in to comment.