Skip to content

Commit

Permalink
ci: upgrade GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Mar 27, 2024
1 parent 5088ea3 commit f305e4f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ description: 'Sets up project and its dependencies'
runs:
using: 'composite'
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: ${{ env.PNPM_VERSION }}
run_install: false

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
# registry-url: https://npm.pkg.github.com
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: 'Setup project'
uses: ./.github/actions/setup-project
Expand All @@ -35,7 +35,7 @@ jobs:
uses: ./.github/actions/check-quality

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

- name: Build with Vite
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: 'Lint, Build & Test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: 'Setup project'
uses: ./.github/actions/setup-project
Expand All @@ -30,7 +30,7 @@ jobs:
uses: ./.github/actions/check-quality

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ./
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
outputs:
has_changes: ${{ steps.git_diff.outputs.has_changes }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history so that git diff can compare against HEAD~1

Expand Down

0 comments on commit f305e4f

Please sign in to comment.