-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into html-config-target-node-type-to-generic
- Loading branch information
Showing
425 changed files
with
28,580 additions
and
10,179 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 |
---|---|---|
|
@@ -14,3 +14,4 @@ | |
.ts-temp | ||
**/.docusaurus | ||
/playwright-report | ||
test-results |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
* @zurfyx @fantactuka @acywatson @Fetz @ivailop7 | ||
* @zurfyx @fantactuka @acywatson @Fetz @ivailop7 @Sahejkm @potatowagon |
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
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Increment Version | ||
on: | ||
workflow_call: | ||
inputs: | ||
increment: | ||
required: true | ||
type: string | ||
dry-run: | ||
required: true | ||
type: boolean | ||
channel: | ||
required: true | ||
type: string | ||
git-repo: | ||
required: true | ||
type: string | ||
secrets: | ||
SSH_KEY: | ||
required: true | ||
outputs: | ||
version: | ||
description: 'The new package.json version, e.g. "0.16.0"' | ||
value: ${{ jobs.release.outputs.version }} | ||
tag-ref: | ||
description: 'The fully qualified ref for the tag, e.g. "refs/tags/v0.16.0"' | ||
value: ${{ jobs.release.outputs.tag-ref }} | ||
latest-release: | ||
description: 'The latest release (per GitHub releases) prior to this increment, e.g. "v0.15.0"' | ||
value: ${{ jobs.release.outputs.latest-release }} | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
version: ${{ steps.increment-version.outputs.version }} | ||
tag-ref: ${{ steps.increment-version.outputs.tag-ref }} | ||
latest-release: ${{ steps.latest.outputs.release }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ssh-key: ${{ secrets.SSH_KEY }} | ||
fetch-depth: 0 | ||
# Setup .npmrc file to publish to npm | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm ci | ||
- run: | | ||
git config user.name "Lexical GitHub Actions Bot" | ||
git config user.email "<>" | ||
- id: latest | ||
uses: pozetroninc/github-action-get-latest-release@master | ||
with: | ||
owner: facebook | ||
repo: lexical | ||
excludes: draft | ||
- id: increment-version | ||
run: npm run increment-version | ||
env: | ||
# These are passed in the environment as they are used by | ||
# the postversion script | ||
INCREMENT: ${{ inputs.increment }} | ||
CHANNEL: ${{ inputs.channel }} | ||
LATEST_RELEASE: ${{ steps.latest.outputs.release }} | ||
DRY_RUN: ${{ inputs.dry-run && '1' || '' }} | ||
GIT_REPO: ${{ inputs.git-repo }} |
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
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: (call) Publish to NPM | ||
on: | ||
workflow_call: | ||
inputs: | ||
ref: | ||
required: true | ||
type: string | ||
dry-run: | ||
required: true | ||
type: boolean | ||
channel: | ||
required: true | ||
type: string | ||
secrets: | ||
NPM_TOKEN: | ||
required: true | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
env: | ||
DRY_RUN_ARG: ${{ inputs.dry-run && '--dry-run' || '' }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ inputs.ref }} | ||
# Setup .npmrc file to publish to npm | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm ci | ||
- run: npm run prepare-release | ||
- run: node ./scripts/npm/release.js --non-interactive $DRY_RUN_ARG --channel='${{ inputs.channel }}' | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
|
@@ -35,4 +35,13 @@ jobs: | |
FIREFOX_EXTENSION_ID: ${{ secrets.EXTENSION_FIREFOX_EXTENSION_ID }} | ||
FIREFOX_JWT_ISSUER: ${{ secrets.EXTENSION_FIREFOX_JWT_ISSUER }} | ||
FIREFOX_JWT_SECRET: ${{ secrets.EXTENSION_FIREFOX_JWT_SECRET }} | ||
# FBK-SWAT project within EPAM GCP | ||
# https://console.cloud.google.com/apis/credentials?project=hl2-fbk-swat-t1iylu&supportedpurview=project | ||
# OAuth 2.0 Client that is authorized to access "Chrome Web Store API" for "[email protected]" | ||
# https://console.cloud.google.com/apis/credentials/oauthclient/720442356639-lb8144papds2t60uh2iu3vhvit4gb2fe.apps.googleusercontent.com?project=hl2-fbk-swat-t1iylu&supportedpurview=project | ||
CHROME_EXTENSION_ID: ${{ secrets.EXTENSION_CHROME_EXTENSION_ID }} | ||
CHROME_CLIENT_ID: ${{ secrets.EXTENSION_CHROME_CLIENT_ID }} | ||
CHROME_CLIENT_SECRET: ${{ secrets.EXTENSION_CHROME_CLIENT_SECRET }} | ||
CHROME_REFRESH_TOKEN: ${{ secrets.EXTENSION_CHROME_REFRESH_TOKEN }} | ||
CHROME_PUBLISH_TARGET: ${{ secrets.EXTENSION_CHROME_PUBLISH_TARGET }} | ||
BUILD_VERSION: ${{ inputs.build_version }} |
Oops, something went wrong.