Skip to content

Commit

Permalink
ci: update github actions dependencies to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 16, 2024
1 parent 21cc8bc commit ef5305e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -31,11 +31,11 @@ jobs:
- name: Test
run: yarn run test
- name: Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
- name: Build
run: yarn run build
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/**/*
Expand All @@ -45,15 +45,15 @@ jobs:
needs: ci
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Build docs
run: yarn run docs:build
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
Expand Down

0 comments on commit ef5305e

Please sign in to comment.