summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-11-02 23:24:07 +0100
committerGitHub <[email protected]>2021-11-02 23:24:07 +0100
commit78f15c54c2e0d1f61abc9eec4d88ee020b191e95 (patch)
tree5aa007482d9e6f9e1aeb32429dcedf4f48073e33 /.github
parentd7d75c295209acbb9c0f48676b6059ae2fa76aeb (diff)
Feat/collapse: add collapsible/toggleable headers and outline layout in the preview panel (#139)
* feat(preview): collapsible headings * feat(preview): collapsible headings * feat(collapse): change icons for headings * feat(collapse): * feat(collapse): use new uniorg and better looks * feat(collapse): fix typescript errors * fix(ci): better filter * feat(collapse): more small adjustments * feat(collapse): collapse all button * fix(collapse): fix global css * fix(cd): remove yarn and add export * fix(collapse): type-errors * fix(cd): fix format-all fucking up yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cd.yml27
-rw-r--r--.github/workflows/ci.yml11
2 files changed, 20 insertions, 18 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 21aafd9..2691d91 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -4,7 +4,7 @@
name: 'cd'
on:
push:
- branches: [main]
+ branches: [main]
defaults:
run:
shell: 'bash'
@@ -14,16 +14,16 @@ jobs:
outputs:
ts: ${{ steps.filter.outputs.ts }}
steps:
- - uses: actions/checkout@v2
- - name: '[check if build necessary]'
- uses: dorny/paths-filter@v2
- id: filter
- with:
- filters: |
- ts:
- - '**.ts'
- - '**.tsx'
- - '**.json'
+ - uses: actions/checkout@v2
+ - name: '[check if build necessary]'
+ uses: dorny/paths-filter@v2
+ id: filter
+ with:
+ filters: |
+ ts:
+ - '**.ts'
+ - '**.tsx'
+ - '**.json'
build-deploy:
name: '[cd|build-deploy]'
runs-on: 'ubuntu-latest'
@@ -45,8 +45,9 @@ jobs:
git config --global url."https://github.com/".insteadOf ssh://[email protected]/
git config --global url."https://".insteadOf git://
git config --global url."https://".insteadOf ssh://
- yarn
- yarn build
+ npm install
+ npm run build
+ npm run export
- name: '[commit changes]'
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8dbc534..408ccf7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,9 +23,9 @@ jobs:
with:
filters: |
ts:
- - '*.ts'
- - '*.tsx'
- - '*.json'
+ - '**.ts'
+ - '**.tsx'
+ - '**.json'
lint-test-build:
name: '[ci|lint-test-build]'
runs-on: 'ubuntu-latest'
@@ -47,7 +47,8 @@ jobs:
git config --global url."https://github.com/".insteadOf ssh://[email protected]/
git config --global url."https://".insteadOf git://
git config --global url."https://".insteadOf ssh://
- yarn
- yarn build
+ npm install
+ npm run build
+ npm run export
...
# End of ci.yml