Skip to content

Commit

Permalink
Upgrade Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dguo committed Feb 23, 2024
1 parent 6d87a7a commit 6904f1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
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-file: ".tool-versions"
- name: Get the Yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -30,8 +30,8 @@ jobs:
run: yarn run format:check
# - name: Lint the code
# run: yarn run lint
- name: Export the website
run: yarn run export
- name: Build the website
run: yarn run build
- name: Run Lighthouse
run: npx --package=@lhci/cli lhci autorun
env:
Expand Down

0 comments on commit 6904f1f

Please sign in to comment.