Pascal Jufer
ae1987a359
Revise GitHub workflows ( #9011 )
...
* Fix check for changed files & reformat workflows
* Test performance of paths-filter action
* Revise workflows
* Better wording
* Fix naming of "Pre-Check"
* Point out values
* Abreviate to make it look cleaner in report
2021-10-25 11:22:06 -04:00
Pascal Jufer
88813a59d3
Add GitHub Action to Auto-Merge Translations from Crowdin ( #8966 )
...
* Add Action to Auto-Merge Translations from Crowdin
* Don't trigger checks on translation updates
2021-10-20 11:01:14 -04:00
Tien Tran
b3f1e3383e
Skip publish-npm job in the release workflow for forked repos ( #8957 )
2021-10-20 09:48:08 -04:00
Rijk van Zanten
2baec5efcf
Update bug_report.yml
2021-10-15 18:16:22 -04:00
Jay Cammarano
4794c103b1
disable sqlite in e2e tests on CI ( #8774 )
2021-10-13 22:12:10 +00:00
Pascal Jufer
e944fb9798
Try to fix "Assign author to PR" action ( #8752 )
...
Currently, it doesn't work and the log shows the following message: `Warning: Resource not accessible by integration`
Follow up of #8733
2021-10-12 19:52:02 -04:00
Oscar Dominguez
432fc0ff93
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows ( #8748 )
2021-10-12 16:10:17 -04:00
Pascal Jufer
99aa1d4984
Add GitHub action workflow to automate author assignment on pull requests ( #8733 )
...
* Add GitHub action workflows to automate issue and PR management
* Remove "Add label" action and bring back label on template
2021-10-12 13:03:36 -04:00
Pascal Jufer
ca7e77e630
Adjust "Report Bug" link to the new issue template ( #8711 )
...
* Adjust "Report Bug" link to the new issue template
Unfortunately, it's not (yet?) possible to auto-fill the fields in the template
via querys...
* Adjust bug template & use corresponding params
As suggested by @azrikahar
2021-10-12 11:59:52 -04:00
Rijk van Zanten
f717a35da2
Update CODEOWNERS
2021-10-12 09:46:18 -04:00
Rijk van Zanten
c8d205c8e4
Create codeql-analysis.yml
2021-09-29 12:03:01 -04:00
rijkvanzanten
d4b2a05453
Use npm ci instead of install, only run e2e on main
2021-09-27 16:36:09 -04:00
Jay Cammarano
a7b0cbe69b
GitHub workflow to run tests on pushes to main and PRs ( #8247 )
...
* testing workflow
* name changed
* generateHash working
* changed pendingMock() to 0 because ticks > 5000
* removed empty tests
* removed empty tests
* Update packages/sdk/tests/utils.ts
Co-authored-by: José Varela <joselcvarela@gmail.com >
* updated workflow to add build
* added npm run build
* fixed get-filter-operators
* added env to workflow
* potential fix to index.test.ts
* added env variables for index.test.ts
* added caching and node-version matrix
* added all supported node versions
* only supported node versions
* updated to only support 16
* removed duplicate workflow caching
Co-authored-by: José Varela <joselcvarela@gmail.com >
2021-09-27 15:10:29 -04:00
Rijk van Zanten
82cd7077ed
Update CODEOWNERS
2021-09-17 10:07:59 -04:00
Azri Kahar
bfdeb42cff
fix readme filename in sync-dockerhub-readme.yml ( #7892 )
2021-09-07 11:46:02 -04:00
Azri Kahar
058bf9054e
add github action for syncing readme to dockerhub ( #7889 )
2021-09-07 11:34:57 -04:00
Nicola Krumschmidt
d2ca0d094c
Rename extension-sdk to extensions-sdk ( #7282 )
...
While it is never nice to rename an already published package,
this allows us to reserve the "@directus/extension-" prefix for official extensions.
2021-08-27 13:48:19 -04:00
Nicola Krumschmidt
ba43e3139e
Add create-directus-extension package ( #7329 )
...
* Make spinner success message bold in extension cli
* Expose extension-sdk cli functions
* Add create-directus-extension package
* Bump version
* Fix type fun times
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-08-26 17:32:27 -04:00
Rijk van Zanten
5168f27881
Update CODEOWNERS
2021-08-12 18:43:38 -04:00
rijkvanzanten
86ce598edd
Tweak, hopefully fix release flow
2021-08-10 16:22:32 -04:00
renovate[bot]
30f8e3257f
update styfle/cancel-workflow-action action to v0.9.1 ( #7087 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-07-29 17:34:04 -04:00
Rijk van Zanten
ed0029178f
Update bug_report.yml
2021-07-28 11:08:15 -04:00
Rijk van Zanten
adcdb609de
Update bug_report.yml
2021-07-28 11:07:55 -04:00
Rijk van Zanten
349cb049cf
Update bug_report.yml
2021-07-28 11:06:40 -04:00
Pascal Jufer
21ebcf30ab
Add latest tag & remove sha tag for Docker image ( #6837 )
2021-07-15 16:17:37 -04:00
rijkvanzanten
f60deb9ca2
Remove prepublish build step, handled in CI
2021-07-15 14:23:48 -04:00
Nicola Krumschmidt
d529b0373b
Use actions/setup-node's way of authenticating to npm registry ( #6827 )
2021-07-15 10:33:32 -04:00
Nicola Krumschmidt
87720f4ba2
Fix publishing packages without changes ( #6825 )
...
Despite the name, "--force-publish" is actually an option for "lerna version".
When using "lerna publish from-git", lerna won't run "lerna version" beforehand,
so we can savely remove the "lerna version"-specific options.
2021-07-15 10:22:58 -04:00
Sean Goff
f29dee4a3e
disable lerna access verification ( #6805 )
2021-07-14 20:07:09 -04:00
rijkvanzanten
eae4b620ae
Fix npm token in publish step
2021-07-14 18:18:51 -04:00
rijkvanzanten
ce50209ff6
Attempt to fix Release CD
2021-07-14 17:25:33 -04:00
rijkvanzanten
bd32589bb9
Remove NPM token check
2021-07-14 17:00:47 -04:00
rijkvanzanten
41e1a58536
Update release command to only version
2021-07-14 16:48:02 -04:00
Pascal Jufer
81c638b938
Add support for Docker ARM image ( #6796 )
...
* test
* ci improvements
* fix image names
* improve docs
* Update .github/workflows/release.yml
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
* Update docker/pack.js
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
* improvements proposed by @paescuj
* improve Dockerfile comment
* fix .PHONY
* rm tarballs before building final image
* Add support for Docker ARM image
* Label is already added by GitHub action
Co-authored-by: Sean Goff <sean318@hotmail.ch >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2021-07-14 16:43:36 -04:00
Sean Goff
b67b9d824a
Build improvements ( #6759 )
...
* test
* ci improvements
* fix image names
* improve docs
* Update .github/workflows/release.yml
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
* Update docker/pack.js
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
* improvements proposed by @paescuj
* improve Dockerfile comment
* fix .PHONY
* rm tarballs before building final image
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
2021-07-14 16:40:38 -04:00
rijkvanzanten
10d0b5623c
Limit to node 16
2021-07-14 16:29:16 -04:00
rijkvanzanten
c54b955359
Attempt to fix e2e test
2021-07-14 15:51:27 -04:00
Pascal Jufer
a6288e674d
Docker image: Respect KEY_FILE/SECRET_FILE env vars ( #6713 )
...
With the introduction of support for _FILE env vars (#6101 ) we should respect those when checking the KEY & SECRET variables.
Additionally, I've revised the entrypoint script with the help of [ShellCheck](https://www.shellcheck.net/ ).
2021-07-12 14:00:31 +02:00
Pascal Jufer
edd52c7c2a
Small Makefile change (for manual image build) ( #6741 )
...
* Enhancement: Use latest Git tag for version
* Fix: correct dir in PHONY
2021-07-11 09:46:13 +02:00
Pascal Jufer
b2d1805330
Docker image: Ensure exact version of directus ( #6659 )
...
See #6633
2021-07-07 12:05:18 +02:00
Pascal Jufer
eabf120662
Enhance docker image build process ( #6601 )
2021-07-02 11:51:15 +02:00
Ben Haynes
8d1c5649b6
Reorder fields ( #6544 )
2021-06-28 12:56:59 -04:00
Rijk van Zanten
11e34662df
Delete bug_report.md
2021-06-26 12:01:01 -04:00
Nicola Krumschmidt
051df415df
Fix extensions ( #6377 )
...
* Add support for npm extensions
* Allow extensions to import vue from the main app
* Bundle app extensions on server startup
* Fix return type of useLayoutState
* Add shared package
* Add extension-sdk package
* Add type declaration files to allow deep import of shared package
* Add extension loading to shared
* Refactor extension loading to use shared package
* Remove app bundle newline replacement
* Fix extension loading in development
* Rename extension entrypoints
* Update extension build instructions
* Remove vite auto-replacement workaround
* Update package-lock.json
* Remove newline from generated extension entrypoint
* Update package-lock.json
* Build shared package as cjs and esm
* Move useLayoutState composable to shared
* Reverse vite base env check
* Share useLayoutState composable through extension-sdk
* Update layout docs
* Update package versions
* Small cleanup
* Fix layout docs
* Fix imports
* Add nickrum to codeowners
* Fix typo
* Add 'em to vite config too
* Fix email
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-06-23 12:43:06 -04:00
Nicola Krumschmidt
965bcde4ee
Enforce latest node and npm version in dev ( #6414 )
...
* Enforce latest node and npm version in dev
* Update CI workflows to Node 16
2021-06-22 11:22:37 -04:00
rijkvanzanten
53eee85b1b
I'll leave this here for later
2021-06-21 18:14:05 -04:00
rijkvanzanten
2e82b5004a
Guess it's a private beta!
...
Revert "Try out new issue form template"
This reverts commit 06c7456688 .
2021-06-21 18:13:14 -04:00
rijkvanzanten
06c7456688
Try out new issue form template
2021-06-21 18:10:47 -04:00
renovate[bot]
78e830f795
chore(deps): update node.js to v16 ( #6336 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-06-17 11:27:34 -04:00
Rijk van Zanten
73012baddc
Delete dependabot.yml
2021-06-16 15:58:08 -04:00