This commit is contained in:
parent
810f08949a
commit
a869e3e5d8
@ -4,7 +4,11 @@ root = true
|
|||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
[*.{js,json,yml,ts,tsx,jsx}]
|
[*.{js,json,ts,tsx,jsx}]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
17
.github/workflows/playwright.yml
vendored
17
.github/workflows/playwright.yml
vendored
@ -14,11 +14,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install -g yarn && yarn
|
run: |
|
||||||
- name: Install Playwright Browsers
|
apt-get update
|
||||||
run: yarn playwright install --with-deps
|
apt-get install -y jq
|
||||||
- name: Run Playwright tests
|
curled=$(curl -L https://github.com/obsidianmd/obsidian-releases/raw/refs/heads/master/desktop-releases.json | jq .latestVersion | sed s/\"//g)
|
||||||
run: yarn playwright test
|
curl -Lo obsidian.deb "https://github.com/obsidianmd/obsidian-releases/releases/download/v$curled/obsidian_${curled}_amd64.deb"
|
||||||
|
dpkg -i ./obsidian.deb
|
||||||
|
corepack enable
|
||||||
|
yarn install
|
||||||
|
cd packages/test-project
|
||||||
|
yarn playwright install --with-deps
|
||||||
|
yarn workspace obsidian-testing-framework run tsc
|
||||||
|
yarn playwright test
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user