-
-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into madlittlemods/refresh-timeline-when-we-see-…
…msc2716-marker-events-v2
- Loading branch information
Showing
127 changed files
with
3,482 additions
and
2,443 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
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,34 @@ | ||
name: Deploy documentation PR preview | ||
|
||
on: | ||
workflow_run: | ||
workflows: [ "Static Analysis" ] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
netlify: | ||
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action | ||
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess: | ||
- name: 📥 Download artifact | ||
uses: dawidd6/action-download-artifact@e6e25ac3a2b93187502a8be1ef9e9603afc34925 # v2.24.2 | ||
with: | ||
workflow: static_analysis.yml | ||
run_id: ${{ github.event.workflow_run.id }} | ||
name: docs | ||
path: docs | ||
|
||
- name: 📤 Deploy to Netlify | ||
uses: matrix-org/netlify-pr-preview@v1 | ||
with: | ||
path: docs | ||
owner: ${{ github.event.workflow_run.head_repository.owner.login }} | ||
branch: ${{ github.event.workflow_run.head_branch }} | ||
revision: ${{ github.event.workflow_run.head_sha }} | ||
token: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
site_id: ${{ secrets.NETLIFY_SITE_ID }} | ||
desc: Documentation preview | ||
deployment_env: PR Documentation Preview |
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 |
---|---|---|
|
@@ -64,3 +64,46 @@ jobs: | |
|
||
- name: Generate Docs | ||
run: "yarn run gendoc" | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: docs | ||
path: _docs | ||
# We'll only use this in a workflow_run, then we're done with it | ||
retention-days: 1 | ||
|
||
tsc-strict: | ||
name: Typescript Strict Error Checker | ||
if: github.event_name == 'pull_request' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: read | ||
checks: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Get diff lines | ||
id: diff | ||
uses: Equip-Collaboration/[email protected] | ||
with: | ||
include: '["\\.tsx?$"]' | ||
|
||
- name: Detecting files changed | ||
id: files | ||
uses: futuratrepadeira/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
pattern: '^.*\.tsx?$' | ||
|
||
- uses: t3chguy/typescript-check-action@main | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
use-check: false | ||
check-fail-mode: added | ||
output-behaviour: annotate | ||
ts-extra-args: '--noImplicitAny' | ||
files-changed: ${{ steps.files.outputs.files_updated }} | ||
files-added: ${{ steps.files.outputs.files_created }} | ||
files-deleted: ${{ steps.files.outputs.files_deleted }} | ||
line-numbers: ${{ steps.diff.outputs.lineNumbers }} |
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,5 +1,4 @@ | ||
/.jsdocbuild | ||
/.jsdoc | ||
/_docs | ||
.DS_Store | ||
|
||
node_modules | ||
|
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.