Skip to content

Commit

Permalink
Upgrade GitHub actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
user890104 committed Oct 10, 2024
1 parent 16c88e7 commit 4006315
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ jobs:

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

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

- name: Run install
uses: borales/actions-yarn@v4
uses: borales/actions-yarn@v5
with:
cmd: install --frozen-lockfile

- name: Run ESLint
uses: borales/actions-yarn@v4
uses: borales/actions-yarn@v5
with:
cmd: run lint

- name: Build production bundle
uses: borales/actions-yarn@v4
uses: borales/actions-yarn@v5
with:
cmd: build

- name: Upload production-ready build files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: production-files
path: ./dist
Expand All @@ -50,13 +50,13 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: production-files
path: ./dist

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
Expand Down

0 comments on commit 4006315

Please sign in to comment.