fix: workflow fixes
This commit is contained in:
parent
5917713b0d
commit
fbe0781229
2 changed files with 32 additions and 4 deletions
|
@ -41,15 +41,15 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
node-version: lts/*
|
||||
cache: yarn
|
||||
cache-dependency-path: '**/yarn.lock'
|
||||
cache: pnpm
|
||||
cache-dependency-path: '**/pnpm-lock.yaml'
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cache/pip
|
||||
~/node_modules
|
||||
~/.cache/ms-playwright
|
||||
key: ${{ runner.os }}-pio-playwright-${{ hashFiles('**/yarn.lock') }}
|
||||
key: ${{ runner.os }}-pio-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
- name: Get current date
|
||||
id: dateAndTime
|
||||
run: echo "dateAndTime=$(date +'%Y-%m-%d-%H:%M')" >> $GITHUB_OUTPUT
|
||||
|
@ -71,7 +71,7 @@ jobs:
|
|||
- name: Run Playwright tests
|
||||
run: npx playwright test
|
||||
- name: Build WebUI
|
||||
run: yarn build
|
||||
run: pnpm build
|
||||
|
||||
# The following steps only run on push to main
|
||||
- name: Get current block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue