Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
branches:
- main
- fix/github-actions-node-16-to-node-20
permissions:
packages: write
contents: write
Expand All @@ -23,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "20"
cache: "npm"
cache-dependency-path: frontend/package-lock.json

Expand All @@ -32,7 +33,7 @@ jobs:
working-directory: frontend

- name: Build Static Web App
run: npm run build -- --base=$BASE_URL
run: npm run build -- --base=/$BASE_URL/
env:
BASE_URL: ${{ github.event.repository.name }}
VITE_FACE_API_KEY: ${{ secrets.VITE_FACE_API_KEY }}
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
- uses: actions/setup-node@v3
if: github.repository_owner == 'microsoft'
with:
node-version: "14"
node-version: "20"

- run: npm init -y
if: github.repository_owner == 'microsoft'
Expand Down