-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d354cd2
commit 610b203
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,9 @@ jobs: | |
run: | ||
working-directory: ./lxl-web | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
@@ -53,12 +55,11 @@ jobs: | |
working-directory: ./lxljs | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build | ||
- name: Build and run Lighthouse CI | ||
env: | ||
API_URL: ${{ secrets.API_URL }} | ||
ID_URL: ${{ secrets.ID_URL }} | ||
run: npm run build | ||
- name: Run Lighthouse CI | ||
run: | | ||
npm install -g @lhci/[email protected] | ||
lhci autorun | ||
npm run build | ||
npm install -g @lhci/[email protected] | ||
lhci autorun |