Skip to content

Commit

Permalink
Upgrade actions in GitHub workflows (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergefdrv authored Jul 23, 2024
2 parents 3be3000 + c171368 commit cf7f070
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: package.json
cache: npm

- name: Install dependencies
Expand All @@ -28,7 +28,7 @@ jobs:
# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages
- name: Deploy website
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test deployment

on:
push:
pull_request:
branches:
- main
Expand All @@ -10,10 +11,10 @@ jobs:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: package.json
cache: npm

- name: Install dependencies
Expand Down

0 comments on commit cf7f070

Please sign in to comment.