Skip to content

Commit

Permalink
chore: update actions steps (#459)
Browse files Browse the repository at this point in the history
Co-authored-by: Dániel Földi <[email protected]>
  • Loading branch information
DaniFoldi and DaniFoldi authored Jul 4, 2024
1 parent 932b424 commit d668898
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ runs:
registry-url: ${{ inputs.node-registry }}

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4

- name: Get pnpm store directory
id: pnpm-cache-dir
shell: bash
run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Setup pnpm cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Website

permissions:
actions: read
contents: read
pages: write
id-token: write
Expand Down Expand Up @@ -38,10 +39,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup GitHub Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: './iconoir.com/out'

Expand All @@ -55,4 +56,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4

0 comments on commit d668898

Please sign in to comment.