Skip to content

Commit

Permalink
ci(workflow): use checkout v4 instead of v3
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanaidilp committed Apr 28, 2024
1 parent c692257 commit 6d0faf0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 📦 Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ jobs:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 📦 Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn

- name: Install dependencies
- name: 📦 Install dependencies
run: yarn install --frozen-lockfile
- name: Test build website
run: yarn build

0 comments on commit 6d0faf0

Please sign in to comment.