Commit Graph

31 Commits

Author SHA1 Message Date
Dmitriy K c5577d66f9
update workflow (#2989) 2024-07-12 00:19:59 +01:00
Frederico Santos 616b4487a7 chore: Add beta branch to GitHub Actions deploy workflow 2024-07-10 21:48:27 +01:00
Frederico Santos 4dbed9cb4e chore: Add beta branch to GitHub Actions linter and gh-pages workflow 2024-07-10 19:49:05 +01:00
Frederico Santos c44b38c40a chore: Add beta branch to GitHub Actions tests workflow 2024-07-10 19:40:52 +01:00
Frederico Santos e42c329adf
[Beta] Add deployment workflow for beta environment (#2595)
* feat: Add deployment workflow for beta environment

This commit adds a new GitHub Actions workflow file, deploy-beta.yml, which is responsible for deploying the application to the beta environment. The workflow is triggered on push and pull request events. It checks if the repository is 'pagefaultgames/pokerogue' before running the deployment steps. The deployment includes checking out the code, setting up the Node.js environment, installing dependencies, building the application, setting up SSH for secure communication, deploying the build on the server using rsync, and purging the Cloudflare cache. The deployment is only performed when the push event is triggered on the default branch.
It also changes the deploy.yml workflow to be triggered only when a release is generated.

* feat: Update deployment workflow for beta environment

* Update deploy-beta name

* chore: Update deploy-beta.yml to use 'f-fsantos:beta-environment' as the ref name

* chore: Update deploy-beta.yml to use 'f-fsantos:beta-environment' as the ref name

* chore: Update deploy-beta.yml to use '2595/merge' as the ref name

* chore: Update deploy-beta.yml to include event name in deployment message

* chore: Update deploy-beta.yml to use 'pull_request' event and '2595/merge' as the ref name

* chore: Update deploy-beta.yml to include SSH public key

* chore: Update deploy-beta.yml to include SSH public key

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-07-03 16:01:32 -04:00
Franck TROUILLEZ 53ef64f61b
Revert "Allow to auto-bump the version and show version in title (#2307)" (#2723)
This reverts commit 1583fdc4cb.
2024-06-30 13:11:01 +02:00
Franck TROUILLEZ 1583fdc4cb
Allow to auto-bump the version and show version in title (#2307) 2024-06-30 13:03:05 +02:00
Devin Korb 766b9132dd
[Enhancement] remove unnecessary typedoc install in workflow (#2263) 2024-06-15 13:57:13 -04:00
Greenlamp2 a2d0a9ece3
[CI] Add GitHub Action to Run Silent Tests on PRs to Main (#2100)
* github action to run tests in PR

* fix the CI name

* fix comment

* fix divergent tests + cut some useless long test + fix versions
2024-06-11 19:13:02 +02:00
Dakurei 13c9888902
Trigger the github-pages workflow even during pull requests (#1655)
+ Allows upstream identification of problems such as those that occurred during merge of PR #1567
2024-06-01 01:30:55 +01:00
Dakurei 92afcdea8f
Adds workflow to auto generate doc & make it accessible on Github (#1645)
* Adds workflow to auto generate doc & make it accessible on Github

* Adds a condition similar to deploy.yml

  + There's no particular reason to build the documentation for each fork, as it will simply be possible to synchronize the gh-pages branch via the interface or terminal
2024-05-31 09:36:59 -04:00
Greenlamp2 c7fbf5b707
Merge pull request #1323 from JakubHanko/eslint_fix
Add ESLint flat config support
2024-05-29 16:53:23 +02:00
Matthew fcdac63759
Add Feature Issue Template 2024-05-28 10:32:18 -04:00
Matthew 578717aab1
Add bug issue template 2024-05-28 10:30:14 -04:00
Matthew Olker f0cf5cbb19 PR Template from Issue 1304 2024-05-28 10:19:40 -04:00
Jon Studders 919760e2e1
Added if statement to deploy.yml stopping local builds failing. (#1335) 2024-05-24 18:26:23 -04:00
Jakub Hanko d024b840bf
Another try to fix ESLint CI run 2024-05-24 17:03:22 +02:00
Jakub Hanko ab31247bd8
Fix ESLint action 2024-05-24 16:54:21 +02:00
Greenlamp2 bac6c22973
ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224)
* eslint config + packages

* updated eslint config

* fix the issue eslint adding ;;;; at interfaces

* first round with eslint --fix .

* removed config for unused export

* Revert "first round with eslint --fix ."

This reverts commit 77a88e0895.

* removed config for camelCase

* for real this time, first round of eslint --fix .

* halfway to manual eslint fix

* eslint done

* added "how to setup" the hook to eslint --fix each new file before commit (if wanted)

* removed eslintrc config file duplicat

* fix human error + ignore build folder + merge overrides

* added curly brace style + eslint

* applied double quote linter rule

* added lefthook

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* github action to run eslint

* added node_modules to ignore eslint

* different action for typescript

* no need for different glob (default src)

* node 20

* node 20

* removed no longer needed install file

* remove hooks part from README

* eslint fixes

---------

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-05-23 11:03:10 -04:00
maru dffa9b2704
Add more files to be purged from CF cache on deploy 2024-05-02 15:48:59 -04:00
maru 06f6797ece
REALLY fix deploy job 2024-04-25 21:42:09 -04:00
maru a3f17b5b2e
Fix deploy job 2024-04-25 21:39:34 -04:00
maru 9a43d456f6
Update deploy job 2024-04-25 21:36:34 -04:00
maru 7ff82440bc
Add checksum to rsync in deploy job 2024-04-24 23:10:16 -04:00
maru ac15c653d6
Add no-times to rsync in deploy job 2024-04-24 23:06:42 -04:00
maru e608cb6738
Add --del flag to rsync in deploy job 2024-04-23 19:36:17 -04:00
maru c82f46cc88
Update deploy job 2024-04-23 19:31:40 -04:00
maru 884c49fc55
Specify actions-cloudflare-purge version 2024-03-26 21:05:42 -04:00
maru 03a3074209
Update workflow files 2024-03-26 20:50:44 -04:00
Up 28be258fbe
Add deploy workflow (#17)
* make build action run on pushes and pull requests

* add deploy workflow

* merge rm calls into single command

* purge cloudflare cache after deploy

* authenticate when pulling build artifact

* use env var for artifact URL

* fix invalid artifact names on pull requests
2024-03-26 19:15:43 -04:00
Up 6fe82b3365 add GH build workflow 2024-03-25 20:10:20 -04:00