Skip to content

Commit

Permalink
chore: Update github action versions (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoramite authored Feb 5, 2025
1 parent 016e56f commit 5b28c95
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/benchmark-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
run:
working-directory: packages/amagaki/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Checkout benchmark repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: blinkk/amagaki-benchmark
path: packages/amagaki/benchmark
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules-bm-pr
with:
Expand All @@ -43,7 +43,7 @@ jobs:
# Once there is a way to prevent the normal 'push' benchmark from overwriting the
# `main` benchmark this will become the baseline benchmark for future push benchmarks.
- name: Cached benchmark data
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./cache
key: ${{ runner.os }}-benchmark
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/benchmark-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
run:
working-directory: packages/amagaki/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Checkout benchmark repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: blinkk/amagaki-benchmark
path: packages/amagaki/benchmark
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules-bm-pr
with:
Expand All @@ -42,7 +42,7 @@ jobs:
# Once there is a way to prevent this 'push' benchmark from overwriting the
# `main` benchmark update to prevent the cache from saving over the `main` benchmarks.
- name: Download previous benchmark data
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./cache
key: ${{ runner.os }}-benchmark
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Checkout benchmark repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: blinkk/amagaki-benchmark
path: packages/website/amagaki-benchmark
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules-workspaces
with:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
external-data-json-path: packages/website/benchmark/data.json
max-items-in-chart: 100
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/website/public
4 changes: 2 additions & 2 deletions .github/workflows/build-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
run:
working-directory: packages/amagaki/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules-workspaces
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules-workspaces
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
monorepo-tags: true
command: manifest
default-branch: main
- uses: actions/checkout@v2
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.releases_created }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
Expand Down

0 comments on commit 5b28c95

Please sign in to comment.