There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
ci: disable playwright install by default (#1715)
Himself65f478c9ce9e6f
diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.ymlindex 482e6d466f..2fbd56e41f 100644--- a/.github/actions/setup-node/action.yml+++ b/.github/actions/setup-node/action.yml@@ -13,6 +13,10 @@ inputs:description: 'Run the install step for the electron workspace.'required: falsedefault: 'false'+ playwright-install:+ description: 'Run the install step for Playwright.'+ required: false+ default: 'false'npm-token:description: 'The NPM token to use for private packages.'required: false@@ -89,8 +93,9 @@ runs:- name: Get installed Playwright versionid: playwright-version+ if: ${{ inputs.playwright-install == 'true' }}shell: bash- run: echo "::set-output name=version::$(yarn why --json @playwright/test | grep -h 'workspace:.' | jq --raw-output '.children[].locator' | sed -e 's/@playwright\/test@.*://')"+ run: echo "{version}=$(yarn why --json @playwright/test | grep -h 'workspace:.' | jq --raw-output '.children[].locator' | sed -e 's/@playwright\/test@.*://')" >> GITHUB_OUTPUT# Attempt to restore the correct Playwright browser binaries based on the# currently installed version of Playwright (The browser binary versions@@ -100,6 +105,7 @@ runs:# it out for us.- uses: actions/cache@v3id: playwright-cache+ if: ${{ inputs.playwright-install == 'true' }}with:path: '~/.cache/ms-playwright'key: '${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.version }}'@@ -118,5 +124,5 @@ runs:# paywright to install everything for us.- name: Install Playwright's dependenciesshell: bash- if: steps.playwright-cache.outputs.cache-hit != 'true'+ if: inputs.playwright-install == 'true' && steps.playwright-cache.outputs.cache-hit != 'true'run: yarn playwright install --with-depsdiff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.ymlindex 9fd8bc67b1..9b96405680 100644--- a/.github/workflows/build-master.yml+++ b/.github/workflows/build-master.yml@@ -110,6 +110,8 @@ jobs:- uses: actions/checkout@v3- name: Setup Node.jsuses: ./.github/actions/setup-node+ with:+ playwright-install: true- name: Download artifactuses: actions/download-artifact@v3with:diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 5ee987332a..f343b01243 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -59,6 +59,8 @@ jobs:- uses: actions/checkout@v3- name: Setup Node.jsuses: ./.github/actions/setup-node+ with:+ playwright-install: true- name: Download artifactuses: actions/download-artifact@v3with: