Commit graph

49 commits

Author SHA1 Message Date
Antoine du Hamel
3be8564b89
@uppy/companion: remove support for EOL versions of Node.js (#3784)
Node.js 10.x is EOL since 2021-04-31.
Node.js 11.x is EOL since 2019-06-01.
Node.js 12.x is EOL since 2022-04-30.
Node.js 13.x is EOL since 2020-06-01.
Node.js 15.x is EOL since 2021-06-01.
Node.js 17.x is EOL since 2022-06-01.
2022-05-30 18:33:00 +02:00
Antoine du Hamel
588b909069 meta: add GHA workflow for prereleases 2022-05-30 18:29:51 +02:00
Antoine du Hamel
e3c43397e4
meta: split Companion CI between Node.js legacy and supported versions (#3776)
* meta: split Companion CI between Node.js legacy and supported versions
* start testing on 18.x
2022-05-24 12:11:26 +02:00
Merlijn Vos
b345763710
Setup Cypress Dashboard (#3691) 2022-05-23 18:05:39 +02:00
Antoine du Hamel
2a1b178798 fixup! e2e: run CI on PRs that modify the workflow file (#3740) 2022-05-17 14:58:28 +02:00
Antoine du Hamel
f325fb2163
e2e: run CI on PRs that modify the workflow file (#3740)
…and add the option to skip build when spawning e2e locally
2022-05-16 15:35:03 +02:00
kiloreux
ab695cd37f
Only deploy on companion changes (#3677) 2022-05-04 04:46:29 +01:00
Antoine du Hamel
868e68d3d5 meta: addVITE_TRANSLOADIT_SECRET for e2e 2022-04-25 16:18:59 +02:00
Antoine du Hamel
6c53123c3c
meta: upgrade GHA actions (#3602)
and use the more general `lts/*` version descrption for Node.js installs
2022-03-28 09:17:47 +02:00
Antoine du Hamel
99909559b9
meta: run e2e workflow on the head branch instead of the base one (#3561)
Refs: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
2022-03-14 13:59:34 +01:00
Mikael Finstad
32ea099a93
meta: Fix yarn caching in github actions (#3526)
* Fix yarn caching in github actions

* improve cache take 2

from https://github.com/actions/cache/blob/main/examples.md#node---yarn-2

* fix yarn -> corepack yarn

* fix order of corepack install

* add --immutable to all
2022-03-03 13:26:39 +07:00
Antoine du Hamel
666f6acd88
@uppy/angular: update ng version (#3503)
* @uppy/angular: update ng version

* hack to allow the publish of the Angular package

* fix @types/webpack-dev-server resolution (the package is deprecated anyway)

* Add Storybook back

* Fix default value of Input

* Update README

* Apply suggestions from code review

* fix @types/react version conflict

* Update packages/@uppy/angular/.storybook/tsconfig.json
2022-03-02 11:20:38 +01:00
Antoine du Hamel
58e9fc31b2 fixup! meta: ensure README is correctly formatted when doing releases (#3499) 2022-02-17 20:11:25 +01:00
Antoine du Hamel
cdf619df98
meta: ensure README is correctly formatted when doing releases (#3499) 2022-02-17 16:41:14 +01:00
Antoine du Hamel
f08b71d48b
meta: consolidate ENV files and fix contributing guidelines (#3475)
And use `pull_request_target` event instead of `pull_request` to use secrets from forks.

Fixes: https://github.com/transloadit/uppy/issues/3473

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2022-02-14 15:13:38 +01:00
Merlijn Vos
6da874ed3a
meta: Make E2E Great Again (#3444)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-02-08 17:37:27 +01:00
Kevin van Zonneveld
dfda8f9172
Update ci.yml (#3428) 2022-01-11 15:00:04 +01:00
kiloreux
fee5ad917f
Fix Companion deploys (#3388)
* Change compilation to postinstall

* Deploy

* Restore shape

* Reduce builds

* Use docker instead

* Use port as second variable

* Change

* Minor fixes

* Update .github/workflows/companion-deploy.yml

Co-authored-by: Mikael Finstad <finstaden@gmail.com>

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2022-01-10 11:03:49 +01:00
Antoine du Hamel
83d48f0c29 meta: fix release script
Refs: b0bf1a3eb4
2021-12-21 14:47:27 +01:00
Mikael Finstad
bac107fc5f
@uppy/companion: fix Dockerfile and deploy automation (#3355)
* attempt at fixing dockerfile

that works with yarn workspaces and respects yarn.lock

* run corepack yarn

* update Dockerfile references

* remove unneccesary yarn plugin import

* Apply suggestions from code review

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-12-09 18:12:09 +01:00
Antoine du Hamel
fd8061f715 fixup! tools: add manual CDN upload action 2021-12-07 20:10:36 +01:00
Antoine du Hamel
90ac1813de tools: add manual CDN upload action 2021-12-07 20:07:37 +01:00
Antoine du Hamel
39339e1ea1 fixup! meta: add release automations (#3304) 2021-12-07 20:07:37 +01:00
Antoine du Hamel
74dae42fc8 fixup! meta: add release automations (#3304) 2021-12-07 19:22:14 +01:00
Antoine du Hamel
aed5f2272d fixup! meta: add release automations (#3304) 2021-12-07 19:06:37 +01:00
Antoine du Hamel
b8a466b6ad
meta: add release automations (#3304)
* meta: add release automations

* Add missing versions

* remove old scripts that are no longer useful

* add special casing for robodog

* skip fetching if HEAD is already available locally

* Publish to npm from GitHub actions

* fixes

* Update afterVersionBump script

* Fix getUpToDateRefsFromGitHub script

* Make sub-package specific changelogs

* fix git and PR opening process in GH Actions

* fix Release action

* don't fetch GH user names in changelog

* add support for commits that touch several packages

* add website as a valid commit message prefix

* Assign the PR to the releaser and fix other GH related bugs

* Remove release branch from CI

* Restore git history at the end of local release session

* skip CI if assignee has not approved the PR

* fix release commit message

* beautify commit message

* Special case for @uppy/robodog

* Failure is not an option

* Rename release CI

* Always rewind before crashing

* Improve logging

* fix changelog table

* fix linter

* Update CONTRIBUTING.md

* Remove unused package

* Disable Release workflow between two releases

* Fix git command and workaround deleted branch
2021-12-07 18:19:06 +01:00
Mikael Finstad
222b873cbd
rename master to main
companion was no longer being deployed #3286
2021-11-01 20:24:11 +07:00
Antoine du Hamel
e30601df8a
ci: test with Node.js 17.x (#3274) 2021-10-27 20:27:05 +02:00
Antoine du Hamel
01d7ea13e9
meta: use Yarn v3 instead of npm (#3237)
* meta: use Yarn v3 instead of npm

* Update CONTRIBUTING.md to fix linter errors

* remove remaining npm commands

* Update deps
2021-10-20 15:16:59 +02:00
Antoine du Hamel
2eee086545
ci: test Companion with Node.js 16.x (#3273) 2021-10-20 12:05:34 +02:00
Antoine du Hamel
7cad0130dd
ci: fix tranloadit2 e2e tests (#3270)
* ci: fix tranloadit2 e2e tests

* ci: Re-enable tranloadit tests

* ci: update settings

* improve comments

* Remove cropping step from transloadit2 e2e test

* add steps back

* remove template id

* increase timeout

* transloadit2

* Re-enable all e2e tests

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-10-19 15:23:32 +01:00
Antoine du Hamel
ff727d435a
ci: test on Node.js v16.x (#3205)
And upgrade `actions/setup-node` version.
2021-09-20 15:45:17 +02:00
Murderlon
3ff939374b
Release 2021-09-20 13:03:13 +02:00
Mikael Finstad
d0d117c131
Downgrade to Node 14 in GitHub Actions (#3179)
Due to hitting this error: nodejs/node#40030
2021-09-08 15:45:03 +02:00
Murderlon
35697d18d4
Set node version in workflows/cdn.yml to 16.x 2021-08-24 16:40:00 +02:00
Artur Paikin
08cac3bebc master --> main 2021-08-03 15:34:24 +01:00
Antoine du Hamel
5630f7dc07
tools: enable linter for TypeScript (#2997)
* tools: enable linter for TypeScript files and code snippets

* types: remove remaning namespaces

* tools: remove unused Babel decorator plugin
2021-07-13 14:28:14 +02:00
Antoine du Hamel
a4e2da159b ci: don't run markdown tests in type tests 2021-06-29 17:23:07 +02:00
Antoine du Hamel
c315329399
Remove IE polyfills and special casing (#2947)
* Remove IE polyfills and special casing

* dashboard: remove `resize-observer-polyfill`

* deps: remove url-parse to use global `URL` instead

* Update documentation for browser support

* Add a migration guide

* Update e2e test platforms

* Remove polyfills from examples and add those missing in CDN bundle

* Use Node.js v16.x on CI because of `AbortController`

* Update bundle builder to produce two builds: `uppy.js` without polyfills, `uppy.legacy.js` with polyfills.

* Upgrade create-react-app deps

* remove null coalescing operator as it's not supported by the build chain

* disable Safari testing (for now)


Co-authored-by: Renée Kooi <renee@kooi.me>
2021-06-28 11:34:51 +02:00
Antoine du Hamel
50a9c9f190
ci: remove Node.js v10.x, add v16.x (#2932) 2021-06-17 19:30:33 +01:00
Renée Kooi
e82f828d19
companion: smaller heroku deployment (#2845) 2021-04-01 12:30:26 +02:00
Renée Kooi
d52bebad3a
Revert "ci: Try a much smaller Companion deployment to heroku"
This reverts commit a6d24cbae0.
2021-03-31 14:58:47 +02:00
Renée Kooi
a6d24cbae0
ci: Try a much smaller Companion deployment to heroku 2021-03-31 14:50:24 +02:00
Renée Kooi
c88e27608c
ci: fix companion deploys to docker and heroku 2021-03-31 14:18:56 +02:00
Renée Kooi
581c114136
ci: fix website deploy script 2021-03-31 14:07:19 +02:00
Renée Kooi
cb1a41234a
Workspaces (#2835) 2021-03-31 14:04:18 +02:00
kiloreux
dcc544b2bc
Docker tag release (#2771) 2021-02-23 14:11:46 +01:00
kiloreux
1f365608be
Fixes around Github actions and Companion deploys. (#2717) 2021-01-04 11:17:26 +01:00
Renée Kooi
084d17db7d
GitHub actions (#2617) 2020-11-27 09:52:48 +01:00