Zahary Karadjov
f55b165265
chore(deploy-ci): explicitly use the metacraft-labs Vercel scope
...
We are switching to a paid team account in order to be able to grant
multiple developers the necessary access to our PR deployments.
Co-authored-by: Emil Ivanichkov <emil.ivanichkov@gmail.com>
2024-02-29 13:12:32 +02:00
Emil Ivanichkov
8578889a58
format(.github): Format CI files
2024-02-29 13:12:32 +02:00
Rickard Andersson
7e69eafec9
ci: add step for checking formatting
2023-09-26 12:23:26 +03:00
Rickard Andersson
3d0eea506a
fix(ci): exit early if we have no PR number in CI
2023-08-25 12:43:30 +03:00
Rickard Andersson
f160bd3816
debug(ci): remove unnecessary debug lines in deploy script
2023-08-25 12:39:42 +03:00
Rickard Andersson
8d94c1b0f2
debug(ci): console log deployment ID in deploy script
2023-08-25 12:27:50 +03:00
Rickard Andersson
e8d7229f76
fix(ci): add deployments write permission
2023-08-23 22:43:26 +03:00
Rickard Andersson
9c4c29f791
fix(ci): fix duplicate step ID
2023-08-23 22:36:52 +03:00
Rickard Andersson
59453ef1f0
ci: add deployment & status to `main` deployment action
2023-08-23 22:34:19 +03:00
Rickard Andersson
5c847467e5
fix(ci): pull out deployment ID from API response
2023-08-23 22:15:42 +03:00
Rickard Andersson
6c8aa634e7
debug(ci): add deployment status step in workflow
2023-08-23 22:09:50 +03:00
Rickard Andersson
662dbf3d0f
fix(ci): add deployments write permission
2023-08-23 21:57:32 +03:00
Rickard Andersson
1e27bc64cf
fix(ci): add deployment so it shows up as deployed in PR
2023-08-23 21:53:03 +03:00
Rickard Andersson
31197c1f71
debug(ci): set permissions to PRs write
2023-08-23 21:46:16 +03:00
Rickard Andersson
a0dba91951
fix(ci): add wildcard branch name to trigger branches
2023-08-23 21:38:42 +03:00
Rickard Andersson
d5b25c8243
fix(ci): add quotes around `!main`
2023-08-23 21:38:10 +03:00
Rickard Andersson
9a1f19ecd1
fix(ci): add rule for ui test deployment not running on `main`
2023-08-23 21:37:26 +03:00
Rickard Andersson
646e06f553
fix(ci): add write permissions for issues
2023-08-23 21:36:16 +03:00
Rickard Andersson
c739109f7c
fix(ci): `pull_requests` -> `pull-requests`
2023-08-23 21:28:35 +03:00
Rickard Andersson
0c4357abda
fix(ci): use step to get PR number via `gh` CLI
2023-08-23 21:27:07 +03:00
Rickard Andersson
3a85149d55
debug(ci): log `github.event`
2023-08-23 21:22:36 +03:00
Rickard Andersson
d1576de028
debug(ci): add console log of context
...
To see if `issue` is available in the context.
2023-08-23 21:16:57 +03:00
Rickard Andersson
b7ba8927a2
fix(ci): use github script v6 & `rest` namespace
2023-08-23 21:10:01 +03:00
Rickard Andersson
7c918eb7ee
fix(ci): remove login
2023-08-23 20:14:28 +03:00
Rickard Andersson
2f59a270c8
fix(ci): use `--token` for each command
2023-08-23 20:12:31 +03:00
Rickard Andersson
4f4e142224
ci: use `--token` for each vercel command separately
2023-08-23 19:19:30 +03:00
Rickard Andersson
e006bfe5b7
ci: add deployment to vercel
2023-08-23 19:01:25 +03:00
Rickard Andersson
ca88e48ffc
fix: fix more asset paths to be relative
2023-08-22 08:18:57 +03:00
Rickard Andersson
a2635e9190
debug(ci): set env variables only for storybook build
2023-08-21 19:56:37 +03:00
Rickard Andersson
aa247b1c22
debug(ci): set base URL up to be pulled from env
2023-08-21 17:08:12 +03:00
Rickard Andersson
a9546b4a25
fix(ci): add back `viteFinal` for base path
2023-08-21 16:27:33 +03:00
Rickard Andersson
fbbcdf5669
fix(ci): set basepath to account for GH pages root dir
2023-08-21 16:21:42 +03:00
Rickard Andersson
a85ab537e1
fix(ci): set `GH_PAGES` to `true` for storybook build
2023-08-21 16:11:42 +03:00
Rickard Andersson
766b0b5b7b
cleanup(ci): remove duplicate checkout
2023-08-21 16:06:12 +03:00
Rickard Andersson
3d04265498
fix(ci): add missing checkout step
2023-08-21 15:44:27 +03:00
Rickard Andersson
1b7eab6ccc
ci: make separate workflow for deploying to GH pages
2023-08-21 15:33:30 +03:00
Rickard Andersson
4b2f4f0f3b
fix(ci): use manual gh pages step
2023-08-21 15:19:46 +03:00
Rickard Andersson
8e61e28672
ci: add step for deploying storybook to gh-pages
2023-08-21 14:18:43 +03:00
Rickard Andersson
18397f902f
ci: add build step
2023-08-07 10:35:38 +03:00
Rickard Andersson
1fc337d04f
ci: fix `wait-on` call in CI for storybook test
...
This is required in Node 18 and is never signalled at all. It causes the
script to hang indefinitely otherwise.
2023-08-03 13:53:16 +03:00
Rickard Andersson
8fa1a3f719
ci: add caching step for deps
2023-08-03 13:34:21 +03:00
Rickard Andersson
d9f4380dc8
ci: add Storybook CI test action
2023-08-03 13:11:18 +03:00