Skip to content

Commit

Permalink
chore: update pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Aug 17, 2024
1 parent f4b1b8c commit 6c99b2c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: "yarn"
node-version: 20
cache: "npm"
- name: Install dependencies
run: yarn install
run: npm ci
- name: Build
run: yarn build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
# Upload dist repository
# Upload dist folder
path: "./dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 6c99b2c

Please sign in to comment.