Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
383 commits
Select commit Hold shift + click to select a range
2eafb51
Merge branch 'staging' into npm-release-workflow
imolorhe Apr 26, 2021
ae6fe89
Removed global package installs
imolorhe Apr 26, 2021
0dfa7e5
Refactored state update and retrieval
imolorhe Apr 26, 2021
29a9191
Merge pull request #1551 from imolorhe/npm-release-workflow
imolorhe Apr 26, 2021
530beb2
Merge branch 'staging' into refactor-state-update-and-retrieval
imolorhe Apr 26, 2021
12b3525
Run electron e2e test with runInBand flag
imolorhe Apr 27, 2021
2e73844
Merge pull request #1553 from imolorhe/refactor-state-update-and-retr…
imolorhe May 13, 2021
db3ba39
added support for arm64 mac build.
imolorhe May 13, 2021
f156bfb
added config for m1 download
imolorhe May 13, 2021
d3a4226
disable release notes in deploy script
imolorhe May 14, 2021
3130b60
Upgraded to v4.0.3
imolorhe May 14, 2021
dc87a09
Merge pull request #1568 from imolorhe/staging
imolorhe May 15, 2021
fb20f5e
Add deb linux target to eletron-builder
dannysofftie May 15, 2021
450bd36
updated landingfooter logic to fetch the correct download links
imolorhe May 15, 2021
fa43544
Merge pull request #1570 from imolorhe/staging
imolorhe May 15, 2021
7f5c465
Made altair-exported-types a dependency of altair-static
imolorhe May 17, 2021
032bc4a
updated codemirror
imolorhe May 17, 2021
198e737
Merge branch 'staging' into staging
imolorhe May 17, 2021
323756a
Added snap target to linux configuration
imolorhe May 17, 2021
59ed2c6
Merge pull request #1569 from dannysofftie/staging
imolorhe May 17, 2021
b9f0b76
Upgraded to v4.0.4
imolorhe May 17, 2021
d2610ae
Create and merge staging PR in release github action
imolorhe May 18, 2021
12788db
Added site based on vuepress
imolorhe May 23, 2021
194b6ab
Added job to deploy docs
imolorhe May 23, 2021
21b1dc1
Merge pull request #1575 from imolorhe/migrate-docs-to-vuepress
imolorhe May 24, 2021
d735b2b
Added addSubscriptionProvider to plugin context
imolorhe May 24, 2021
cb57f7d
removed surge deploy job
imolorhe May 24, 2021
fd585a0
fixed broken tests
imolorhe May 25, 2021
f77fda3
Merge pull request #1577 from imolorhe/add-subscription-provider-plug…
imolorhe May 25, 2021
a3e275d
persist selected files in storage.
imolorhe May 26, 2021
6098439
Merge pull request #1579 from imolorhe/persist-files-across-reloads
imolorhe May 26, 2021
83b266a
Added altair-graphql-plugin to help build plugins
imolorhe May 27, 2021
8dd25f7
added support for result pane bottom panels
imolorhe May 29, 2021
4e72ba9
Merge pull request #1580 from imolorhe/add-altair-plugin
imolorhe May 30, 2021
a1fdc15
updated file upload docs
imolorhe May 31, 2021
e52404c
Added action to publish chrome extension
imolorhe May 31, 2021
cf7fa35
Upgraded to v4.0.5
imolorhe May 31, 2021
d028862
updated release workflows
imolorhe May 31, 2021
f92b75d
Merge pull request #1573 from imolorhe/staging
imolorhe May 31, 2021
5db6289
updated deplot docs script
imolorhe May 31, 2021
94516cf
updated docs to fix breaking build
imolorhe Jun 1, 2021
9abd2e9
Update url box send button
vladshcherbin Jun 1, 2021
2d1f507
set min-width of send button to 120px
imolorhe Jun 1, 2021
5b35829
Merge pull request #1592 from vladshcherbin/patch-1
imolorhe Jun 1, 2021
cba4822
Merge branch 'master' into staging
imolorhe Jun 1, 2021
77dfcdb
Added request start and end times.
imolorhe Jun 2, 2021
01c3b04
Run yarn install in github-metadata plugin directory
imolorhe Jun 2, 2021
d5adc68
try github token for github metadata
imolorhe Jun 2, 2021
34b5b5a
Resolve circular references in app state.
imolorhe Jun 3, 2021
9afaf61
updated deploy docs job
imolorhe Jun 3, 2021
17bc741
Upgraded to v4.0.6
imolorhe Jun 3, 2021
74afcb8
Deleted docs as its no longer needed
imolorhe Jun 4, 2021
618b1a2
Enabled edit link in docs
imolorhe Jun 4, 2021
81c3e35
Catch and report all errors caught in async storage meta reducer
imolorhe Jun 4, 2021
32194e6
Added altair-graphql-core.
imolorhe Jun 21, 2021
35cf888
Fixed tests
imolorhe Jun 21, 2021
bbe07fa
Updated generate-settings-schema
imolorhe Jun 21, 2021
e849fb1
updated typescript-json-schema
imolorhe Jun 21, 2021
edc997e
Added generate-settings-schema script
imolorhe Jun 21, 2021
1e5eb6d
fixed linting issues
imolorhe Jun 21, 2021
9f4c0e3
updated chrome version
imolorhe Jun 22, 2021
18ab729
Merge pull request #1609 from imolorhe/add-altair-core
imolorhe Jun 23, 2021
c489d21
Updated repo references to include altair-graphql
imolorhe Jun 23, 2021
910c79c
Merge pull request #1610 from altair-graphql/update-repo-references
imolorhe Jul 2, 2021
d2f4572
Refactored plugin logic structure a bit
imolorhe Jul 2, 2021
cc9af0e
Fixed altair-graphql-plugin package
imolorhe Jul 2, 2021
53ff6d0
Merge branch 'staging' into refactor-plugin-structure
imolorhe Jul 2, 2021
b610fbb
Merge pull request #1618 from altair-graphql/refactor-plugin-structure
imolorhe Jul 2, 2021
7d47917
Fixed bug when changing instanceStorageNamespace
imolorhe Jul 11, 2021
ce065d4
Update environment delete button to be more obvious
imolorhe Jul 11, 2021
733b179
Merge pull request #1621 from altair-graphql/fix-instance-storage-name
imolorhe Jul 11, 2021
09d2b81
Added option for also setting dark mode theme
imolorhe Jul 11, 2021
30d8d57
Merge branch 'staging' into update-environment-delete-button
imolorhe Jul 11, 2021
53905ac
Added darkMode theme support in plugin context
imolorhe Jul 11, 2021
bf5151d
Merge pull request #1622 from altair-graphql/update-environment-delet…
imolorhe Jul 12, 2021
a674b6f
Merge branch 'staging' into add-dark-mode-theme
imolorhe Jul 12, 2021
0349c0e
Merge pull request #1623 from altair-graphql/add-dark-mode-theme
imolorhe Jul 12, 2021
c20fc14
Disabled copy to curl when using file input
imolorhe Jul 12, 2021
6ff1f9f
Upgraded to v4.0.7
imolorhe Jul 13, 2021
ba609fa
iadded .npmignore to altair-core
imolorhe Jul 20, 2021
63fa597
Upgraded to v4.0.8
imolorhe Jul 20, 2021
3c9143a
updated graphql
imolorhe Aug 15, 2021
2d5c047
Reintroduced ngx-toastr
imolorhe Aug 16, 2021
f7a7f55
fixed unit tests
imolorhe Aug 20, 2021
5536891
Merge pull request #1643 from altair-graphql/reintroduced-ngx-toastr
imolorhe Aug 20, 2021
f00e60f
Upgraded to v4.0.9
imolorhe Aug 20, 2021
2608266
updated features footer link
imolorhe Aug 21, 2021
9bc6ee8
added check for item.pattern
imolorhe Aug 21, 2021
5ce6cbe
fixed feature footer link
imolorhe Aug 21, 2021
06a2866
Specified that plugin_class is required and also added darkmode flag …
imolorhe Aug 31, 2021
4bcf08c
Throw error if plugin instance cannot be created
imolorhe Aug 31, 2021
3281720
bump koa deps and fix keywords
gengjiawen Sep 13, 2021
e645b1c
update prettier to fix graphql bug.
imolorhe Sep 17, 2021
c9376c3
fix default values in doc viewer.
imolorhe Sep 19, 2021
e82e6b8
Handle RequestscriptError.
imolorhe Sep 19, 2021
9b08785
update chrome version
imolorhe Sep 19, 2021
812dee5
Merge branch 'staging' into feat/koa
imolorhe Sep 19, 2021
4f971ab
updated request script editor styles
imolorhe Sep 19, 2021
60b3b1a
updated snapshots
imolorhe Sep 19, 2021
3a7d3b1
update caniuse-lite
imolorhe Sep 19, 2021
a464012
update angular/core@12
imolorhe Sep 19, 2021
34fae11
update dep
imolorhe Sep 19, 2021
52abdb6
enabl production build by default
imolorhe Sep 19, 2021
7458e98
downgraded prettier
imolorhe Sep 19, 2021
76d119c
Merge branch 'staging' into feat/koa
imolorhe Sep 19, 2021
7916cd1
fix ui bug
imolorhe Sep 19, 2021
f702725
updated snapshot
imolorhe Sep 19, 2021
115e24d
Merge branch 'staging' into feat/koa
imolorhe Sep 19, 2021
b7cb49c
added angular-eslint
imolorhe Sep 19, 2021
d754769
replaced tslint with eslint
imolorhe Sep 19, 2021
f9bafae
fixed all linting issues
imolorhe Sep 19, 2021
3be2a3b
Merge branch 'staging' into feat/koa
imolorhe Sep 19, 2021
fef7304
Merge pull request #1661 from gengjiawen/feat/koa
imolorhe Sep 19, 2021
48edbb9
updated node and chrome versions
imolorhe Sep 20, 2021
4147efb
add electron-chromedriver
imolorhe Sep 20, 2021
a7fe238
disable electron e2e tests for now
imolorhe Sep 20, 2021
fd40c59
Upgraded to v4.0.10
imolorhe Sep 20, 2021
9d24d37
Updated Worker URL after angular 12 upgrade
imolorhe Sep 22, 2021
d935355
updated close button of window switcher
imolorhe Sep 22, 2021
08a8068
Upgraded to v4.0.11
imolorhe Sep 22, 2021
2cc2662
Update README.md
imolorhe Sep 22, 2021
33c73de
feat: multiple collections
eole1712 Sep 28, 2021
db8c718
fix: array creation
eole1712 Sep 28, 2021
ab803d9
fix: review changes
eole1712 Sep 29, 2021
74cbec2
fix: upload issue
eole1712 Sep 29, 2021
344acb3
fix default values in doc viewer type.
Migushthe2nd Sep 29, 2021
f2fe318
fix: console
eole1712 Sep 30, 2021
03763d0
Merge pull request #1693 from Migushthe2nd/staging
imolorhe Oct 1, 2021
8c6f5ff
fix: dom iterable file list
eole1712 Oct 4, 2021
cf6ba4e
Merge branch 'staging' into feat/import-collections
eole1712 Oct 5, 2021
7426a5d
Merge pull request #1692 from eole1712/feat/import-collections
imolorhe Oct 8, 2021
ec07783
Add more questions in created issue to help in investigating
imolorhe Oct 14, 2021
07ec719
fixed object unsubscribed error
imolorhe Oct 14, 2021
d835a4c
fixed test - take 2
imolorhe Oct 14, 2021
43dc65a
update tsconfig target to es2020
imolorhe Oct 14, 2021
c3be08f
added retries and split github workflow
imolorhe Oct 15, 2021
a4dac97
Merge pull request #1709 from altair-graphql/fix-test-2
imolorhe Oct 15, 2021
e003504
Merge branch 'staging' into update-ts-target
imolorhe Oct 15, 2021
dc1c34d
Merge branch 'staging' into add-more-message-in-error
imolorhe Oct 15, 2021
a0829cf
added chocolatey build
imolorhe Oct 15, 2021
c50d290
Merge pull request #1710 from altair-graphql/update-ts-target
imolorhe Oct 15, 2021
cd14229
Merge branch 'staging' into add-more-message-in-error
imolorhe Oct 15, 2021
0c44941
fix workflow
imolorhe Oct 15, 2021
878c48e
Merge pull request #1706 from altair-graphql/add-more-message-in-error
imolorhe Oct 15, 2021
cfa5648
testing
imolorhe Oct 15, 2021
a4f5a43
readded bootstrap
imolorhe Oct 15, 2021
07eaf19
Merge branch 'staging' into add-chocolatey-build
imolorhe Oct 15, 2021
35660b6
install yarn in only altair-electron
imolorhe Oct 15, 2021
ce97b41
correct file path
imolorhe Oct 15, 2021
c95ec58
updated file name
imolorhe Oct 15, 2021
0732c34
added electron output to nuspec
imolorhe Oct 16, 2021
21ae018
removed dir commands
imolorhe Oct 16, 2021
fade1b1
added correct api key
imolorhe Oct 16, 2021
0af08a0
fixed syntax
imolorhe Oct 16, 2021
70385b0
complete workflow
imolorhe Oct 16, 2021
33cd12b
Merge pull request #1712 from altair-graphql/add-chocolatey-build
imolorhe Oct 16, 2021
79cde1a
removed staging branch creation action
imolorhe Oct 16, 2021
fa9201b
Added LICENSE and VERIFICATION files
imolorhe Oct 16, 2021
608a9a3
updated nuspec icon
imolorhe Oct 16, 2021
52de5c9
renamed legals to legal
imolorhe Oct 16, 2021
88ae71c
Ability to clear result panel
AlexandruValeanu Oct 16, 2021
29b97f5
Merge branch 'staging' into 1681_clear_result_panel
AlexandruValeanu Oct 16, 2021
e7ad1f0
PR feedback
AlexandruValeanu Oct 16, 2021
916ecad
Add unit test
AlexandruValeanu Oct 16, 2021
60f5f6a
Merge branch '1681_clear_result_panel' of https://github.com/Alexandr…
AlexandruValeanu Oct 16, 2021
86b8488
Fix copy-paste error
AlexandruValeanu Oct 17, 2021
1dd2313
Merge pull request #1714 from AlexandruValeanu/1681_clear_result_panel
imolorhe Oct 17, 2021
bf69de7
Added editor shortcut mapping setting customization
imolorhe Oct 17, 2021
bc0af5c
Merge branch 'staging' into customize-editor-shortcut-mappings
imolorhe Oct 17, 2021
4475275
fixed test
imolorhe Oct 17, 2021
34356b3
Merge pull request #1715 from altair-graphql/customize-editor-shortcu…
imolorhe Oct 17, 2021
035fe16
Upgraded to v4.1.0
imolorhe Oct 20, 2021
111c6e5
updated macOS pattern
imolorhe Oct 20, 2021
70719c6
Add import/export menu in client app
AlexandruValeanu Oct 22, 2021
667f04c
Change 'Restore' to 'Import'
AlexandruValeanu Oct 22, 2021
4697b31
iadded post request script to exported window
imolorhe Oct 24, 2021
009aff3
Merge pull request #1729 from altair-graphql/add-post-request-to-expo…
imolorhe Oct 24, 2021
06d07bb
New translations default.json (Acholi)
imolorhe Oct 24, 2021
d9a271f
New translations default.json (Portuguese)
imolorhe Oct 24, 2021
0ec0bfb
New translations default.json (Portuguese, Brazilian)
imolorhe Oct 24, 2021
7cdfa69
New translations default.json (Vietnamese)
imolorhe Oct 24, 2021
e5dcb0b
New translations default.json (English)
imolorhe Oct 24, 2021
34826d4
New translations default.json (Chinese Traditional)
imolorhe Oct 24, 2021
5385c35
New translations default.json (Chinese Simplified)
imolorhe Oct 24, 2021
c5acd80
New translations default.json (Ukrainian)
imolorhe Oct 24, 2021
6f94fba
New translations default.json (Turkish)
imolorhe Oct 24, 2021
b9a18d5
New translations default.json (Swedish)
imolorhe Oct 24, 2021
043329f
New translations default.json (Serbian (Cyrillic))
imolorhe Oct 24, 2021
27b503f
New translations default.json (Russian)
imolorhe Oct 24, 2021
2ea2f42
New translations default.json (Romanian)
imolorhe Oct 24, 2021
9b39863
New translations default.json (French)
imolorhe Oct 24, 2021
a6610d9
New translations default.json (Norwegian)
imolorhe Oct 24, 2021
7d8991b
New translations default.json (Dutch)
imolorhe Oct 24, 2021
c181888
New translations default.json (Korean)
imolorhe Oct 24, 2021
523ebc3
New translations default.json (Japanese)
imolorhe Oct 24, 2021
c60e94c
New translations default.json (Italian)
imolorhe Oct 24, 2021
f40a140
New translations default.json (Hungarian)
imolorhe Oct 24, 2021
8152c94
New translations default.json (Finnish)
imolorhe Oct 24, 2021
a2e1690
New translations default.json (German)
imolorhe Oct 24, 2021
9c53fab
New translations default.json (Danish)
imolorhe Oct 24, 2021
6f7beb4
New translations default.json (Czech)
imolorhe Oct 24, 2021
50b38d1
New translations default.json (Spanish)
imolorhe Oct 24, 2021
03b318c
New translations default.json (Polish)
imolorhe Oct 24, 2021
4c8bc3a
Merge branch 'staging' into l10n_staging
imolorhe Oct 24, 2021
d00f283
Merge pull request #1730 from altair-graphql/l10n_staging
imolorhe Oct 24, 2021
1f0555b
Merge branch 'staging' into 1691_import_export_data
AlexandruValeanu Oct 24, 2021
bb3fb9a
Move import/export to settings menu
AlexandruValeanu Oct 25, 2021
a41fe8e
Remove debugging logs
AlexandruValeanu Oct 28, 2021
8fad3fb
Merge pull request #1728 from AlexandruValeanu/1691_import_export_data
imolorhe Oct 28, 2021
a261d74
New translations default.json (Romanian)
imolorhe Oct 28, 2021
af290af
New translations default.json (Spanish)
imolorhe Oct 28, 2021
d94563f
New translations default.json (Czech)
imolorhe Oct 28, 2021
0fc950b
New translations default.json (Danish)
imolorhe Oct 28, 2021
4ffd694
New translations default.json (German)
imolorhe Oct 28, 2021
76183f3
New translations default.json (Finnish)
imolorhe Oct 28, 2021
c568268
New translations default.json (Hungarian)
imolorhe Oct 28, 2021
9028a37
New translations default.json (Italian)
imolorhe Oct 28, 2021
f5fb039
New translations default.json (French)
imolorhe Oct 28, 2021
1cd10d0
New translations default.json (Turkish)
imolorhe Oct 28, 2021
788fa2c
New translations default.json (Portuguese, Brazilian)
imolorhe Oct 28, 2021
639c67d
New translations default.json (Vietnamese)
imolorhe Oct 28, 2021
ff97ad4
New translations default.json (English)
imolorhe Oct 28, 2021
4fe6f21
New translations default.json (Chinese Traditional)
imolorhe Oct 28, 2021
39bab55
New translations default.json (Chinese Simplified)
imolorhe Oct 28, 2021
6ee8a40
New translations default.json (Ukrainian)
imolorhe Oct 28, 2021
dc98272
New translations default.json (Polish)
imolorhe Oct 28, 2021
c8f6d0d
New translations default.json (Swedish)
imolorhe Oct 28, 2021
3f30930
New translations default.json (Serbian (Cyrillic))
imolorhe Oct 28, 2021
f72b8ca
New translations default.json (Russian)
imolorhe Oct 28, 2021
ce277af
New translations default.json (Portuguese)
imolorhe Oct 28, 2021
e3ddd1d
New translations default.json (Norwegian)
imolorhe Oct 28, 2021
208ffd1
New translations default.json (Dutch)
imolorhe Oct 28, 2021
5f88a84
New translations default.json (Korean)
imolorhe Oct 28, 2021
c5a14ed
New translations default.json (Japanese)
imolorhe Oct 28, 2021
d093102
New translations default.json (Acholi)
imolorhe Oct 28, 2021
3a6a499
general updates
imolorhe Oct 28, 2021
bfbdfa7
add header component redesigned
imolorhe Oct 28, 2021
7f1e9c4
updated tests
imolorhe Oct 28, 2021
5679ba5
Merge branch 'staging' into l10n_staging
imolorhe Oct 28, 2021
e23eb25
Merge pull request #1733 from altair-graphql/l10n_staging
imolorhe Oct 28, 2021
40c3c52
Merge branch 'staging' into general-ui-updates
imolorhe Oct 28, 2021
f0206da
Merge pull request #1732 from altair-graphql/general-ui-updates
imolorhe Oct 29, 2021
b35f789
add variable checker to full url checker
Nov 12, 2021
c9c15cc
use regex from env service
Nov 12, 2021
6014ec8
add tests for getFullUrl method
Nov 12, 2021
71e3906
Apply suggestions from code review
imolorhe Nov 12, 2021
b424810
updated chrome version to 95.0.4638.69
imolorhe Nov 12, 2021
efbdf50
Merge branch 'staging' into staging
imolorhe Nov 12, 2021
19af277
Merge pull request #1737 from kiptrs/staging
imolorhe Nov 12, 2021
f19d613
update all staging instructions to master
imolorhe Nov 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": "altair",
"projectOwner": "imolorhe",
"projectOwner": "altair-graphql",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand Down
67 changes: 0 additions & 67 deletions .appveyor.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/config.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tiny-buttons-visit.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These are supported funding model platforms

github: imolorhe # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: altair-graphql # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: altair # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
Expand Down
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

- [ ] Ran `yarn test-build`
- [ ] Updated relevant documentations
- [ ] Updated matching config options in altair-static

### Changes proposed in this pull request:
<!-- Describe the changes being introduced in this PR -->
1 change: 1 addition & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/pr-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: PR - e2e testing

on:
push:
branches:
- master
pull_request:

jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
node-version: [14.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: restore lerna
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- uses: browser-actions/setup-chrome@latest
- name: Build apps (with retries)
uses: nick-invision/retry@v2
with:
timeout_minutes: 15
max_attempts: 3
command: yarn build:ci
- name: Update webdriver (with retries)
uses: nick-invision/retry@v2
with:
timeout_minutes: 15
max_attempts: 3
command: yarn lerna run --scope altair-app webdriver-update-ci
- name: Run headless e2e test
uses: GabrielBB/xvfb-action@v1
with:
run: yarn lerna run --scope altair-app e2e:ci
64 changes: 35 additions & 29 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR
name: PR - testing

on:
push:
Expand All @@ -11,44 +11,50 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
node-version: [12.x]
node-version: [14.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn global add @angular/cli karma lerna surge
- name: restore lerna
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn build:ci
- uses: browser-actions/setup-chrome@latest
- name: Build apps (with retries)
uses: nick-invision/retry@v2
with:
timeout_minutes: 15
max_attempts: 3
command: yarn build:ci
- name: Run headless test
uses: GabrielBB/xvfb-action@v1
with:
run: yarn test:ci
- run: yarn lerna run --scope altair-app webdriver-update-ci;
- name: Run headless e2e test
uses: GabrielBB/xvfb-action@v1
with:
run: yarn lerna run --scope altair-app e2e:ci

# https://github.com/marketplace/actions/deployment-action
deploy-surge:
runs-on: ubuntu-latest
env:
SURGE_URL: ${{ github.sha }}-${{ github.repository_owner }}-altair.surge.sh
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn --frozen-lockfile
- run: yarn build:ci
- name: Deploy to surge.sh
uses: dswistowski/surge-sh-action@v1
with:
domain: '${{ env.SURGE_URL }}'
project: './packages/altair-app/dist'
login: ${{ secrets.surge_login }}
token: ${{ secrets.surge_token }}
# deploy-surge:
# runs-on: ubuntu-latest
# env:
# SURGE_URL: ${{ github.sha }}-${{ github.repository_owner }}-altair.surge.sh
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js
# uses: actions/setup-node@v1
# with:
# node-version: 12
# - run: yarn --frozen-lockfile
# - run: yarn build:ci
# - name: Deploy to surge.sh
# uses: dswistowski/surge-sh-action@v1
# with:
# domain: '${{ env.SURGE_URL }}'
# project: './packages/altair-app/dist'
# login: ${{ secrets.surge_login }}
# token: ${{ secrets.surge_token }}
Loading