Commit Graph

43 Commits

Author SHA1 Message Date
Martin Šošić
7f55c92acb
Made examples/todoApp more approachable (+ documented what it should be used for) (#2094)
* Made waspc/examples/todoApp easier to run (docs + env files).

* Added .env.server management via dotenv-vault.

* Documented how to test compilation and building of todoApp.

* Updated PR template to mention example todo apps.

* fix

* Apply suggestions from code review

* Update waspc/README.md

* fix

* Update waspc/examples/todoApp/.gitignore
2024-06-18 21:02:10 +02:00
Mihovil Ilakovac
18370f1f48
Testing types of todoApp in CI (#1960) 2024-05-09 14:22:38 +02:00
Mihovil Ilakovac
cb6d10143e
Upgrade headless tests cache key (#1866) 2024-03-08 16:55:50 +01:00
Mihovil Ilakovac
8d7c64a296
Run CI with additional Node.js versions on Ubuntu (#1836) 2024-03-05 19:18:31 +01:00
Mihovil Ilakovac
9800c1cc37
Enables e2e tests and build test (#1780) 2024-02-19 12:06:31 +01:00
Mihovil Ilakovac
e6f066660e
Enables headless and unit tests (#1763) 2024-02-14 17:58:26 +01:00
Filip Sodić
41de1c2c18 Temporarily disable tests and windows build 2024-02-09 17:45:11 +01:00
Suyog Patil
adf37c16bb
Resolved: run CI workflow only when code inside waspc/ changes (#1485)
* chore: run CI worklow only when code inside waspc/ changes

* fix: on pull_request event for run CI worklow only when code inside waspc/ changes
2023-10-25 11:55:17 +02:00
Craig McIlwrath
2d3f0e116c
[waspls] cleanup extimport code (#1292)
mainly refactoring. also updates CI workflow to run packages/ts-inspect tests.
2023-07-07 08:21:33 -04:00
Craig McIlwrath
7c0d13d242
[waspls] diagnostics for external imports and goto definition (#1268) 2023-06-22 15:37:07 -04:00
Mihovil Ilakovac
5e86039a29
Adds headless testing (#1186) 2023-05-17 14:54:47 +02:00
Shayne Czyzewski
30078233f3
Adds building of examples/todoApp to CI (#1146) 2023-04-19 10:03:39 -04:00
Mihovil Ilakovac
fd359ef5fd Adds back TS compile step 2023-02-14 23:10:30 +01:00
Mihovil Ilakovac
a4b9b802d1 Uses release ci.yaml and bumps Wasp version 2023-02-14 23:08:54 +01:00
Mihovil Ilakovac
b139a0bcff Merge branch 'main' into release-with-main 2023-02-14 23:04:01 +01:00
Mihovil Ilakovac
0fce66f21e
Drop the npm version requirement (#1002) 2023-02-13 16:10:40 +01:00
Mihovil Ilakovac
a7f499f71b
Fixes CI issues (#997)
* Adds a workaround for GHCup CI issue

* Fix Node.js to 18.12 to use the right npm version
2023-02-09 12:46:58 +01:00
Mihovil Ilakovac
6b887d6f24 Fix Node.js to 18.12 to use the right npm version 2023-02-09 11:44:24 +01:00
Shayne Czyzewski
b14ed945fc
Adds wasp deploy CLI command for Fly.io (#961) 2023-02-07 10:29:25 -05:00
Shayne Czyzewski
499a34246a
[CI]: Downgrade Ubuntu to 20.04 for build, upgrade deps (#907) 2022-12-23 11:33:44 -05:00
Martin Sosic
6ba114ecbe Fixed failing Dockerfile (openssl3 + prisma). 2022-12-13 14:41:46 +01:00
Shayne Czyzewski
51b7f0d42c
Updates node/npm to current LTS (#788) 2022-10-31 08:08:50 -04:00
Shayne Czyzewski
f06e9894a9
[docs] Updates READMEs with new branching and merging model (#695)
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-08-17 11:42:32 -04:00
Craig McIlwrath
0de0855787
Integrate new error resilient parser into waspc (#684)
* Add CST parsing code into waspc

* Implement CST -> AST conversion

* Implement parseExpression & isValidWaspIdentifier

* Implement golden tests for Parser

* Configure CI git checkout to always use LF line endings
2022-08-11 12:26:12 -04:00
Shayne Czyzewski
d5a9039722
Work around versioned package NPM bug (#661) 2022-07-07 10:37:48 -04:00
Martin Šošić
62f0a76937
Limited Wasp version to ^16.0.0 && <=16.15.0 (#634)
* Limited Wasp node version to ^16.0.0 && <=16.15.0.

In the process, I removed .nvmrc files from generated code and
refactored SemanticVersion to follow npm spec.
I also updated CI to use node 16.15.0, and not any 16.
I also updated docs.
2022-06-17 17:02:54 +02:00
Shayne Czyzewski
a4a2b03a81
Swap cabal freeze file for index-state (#519) 2022-03-24 08:50:14 -04:00
Filip Sodić
8a3fba8831
Require LTS version of Node for Wasp (#504)
* Require LTS node and npm on client and server

* Update node and npm versions in the docs

* Add npmrc and nvmrc to WebAppGenerator

* Change function name in test

* Add newline to nvmrc

* Add newline to Common.hs

* Remove extra empty line in nvmrc

* Remove extra empty line in Common.hs

* Update end to end tests for node LTS

* Add newline at the end of server/nvmrc

* Ensure Node version 16 in CI

* Fix broken ci file

* Change how Wasp specifies required versions

* Fix formatting

* Use type alias for semantic versions

* Remove incorrect comment on Prisma LTS

* Update e2e checksums

* Fix typo in gitignore

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Sort e2e checksums

* Extract semantic version to its module

* Fix formatting

* Fix formatting again

* Add comment explaining nvmrc

* Add tests and change semver naming

* Add natural numbers and formatting to semver

* Add newline at the end of semver module

* Add missing space to node mismatch message

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-03-21 15:00:19 +01:00
Martin Šošić
da8d3a1d85
Check in CI that cabal freeze file is up to date. (#508) 2022-03-17 14:22:58 +01:00
Martin Šošić
857912c2cc
Migrated Wasp from Stack to Cabal (#471)
Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-03-16 16:00:18 +01:00
Shayne Czyzewski
84821005f4
Adds E2E CLI testing support via Golden Tests (Part 1) (#470) 2022-03-01 15:00:51 -05:00
Shayne Czyzewski
0a7a8cdd38
Enables CI on all PRs, not just those targeting main (#483) 2022-02-28 14:04:45 -05:00
Martin Sosic
a0b7477d19 Renamed all references to master branch into main branch. 2022-02-08 15:34:32 +01:00
Martin Sosic
b6f024cb27 Updated Github CI workflow to use different cache key in order to clear it. 2021-11-11 17:21:46 +01:00
Martin Sosic
369ab16586 Added ormolu to CI. 2021-04-28 17:44:00 +02:00
Martin Sosic
c755f3b7cc Small optimizations/comments on github CI workflow caching. 2021-04-25 09:49:29 +02:00
Martin Sosic
0d98334c88 Fixed GH actions. They now fully work, with releases. 2021-04-25 08:44:48 +02:00
Martin Sosic
08c08d3067 Updated GH actions and added release to them. 2021-04-23 23:06:35 +02:00
Martin Sosic
6419b21598 Fixed ci.yaml when deleting non existent folder. 2020-11-14 12:49:01 +01:00
Martin Šošić
64e4685bc0
Fixed how we do caching in GA. (#139) 2020-11-14 12:44:52 +01:00
Martin Šošić
b30dfe9079
Fixed previous mistake 2020-11-14 10:41:02 +01:00
Martin Šošić
516e7d510b
Made versions in ci.yaml more flexible. 2020-11-14 10:39:26 +01:00
Yanis Zafirópulos
ab1b59557e
Added Github actions CI workflow, to replace Travis/Appveyor in near future (#133).
* added previous ci.yaml

* removed redundant comments

* renamed job: cleanup -> cancel

* removed `--no-terminal`

* removed Checkout step

* switched to cancel-workflow-action@0.6.0 + removed the need for a workflow_id

* removed cache-dependencies id (if you don't test for the cache, there's no need for a step id either)

* Update .github/workflows/ci.yaml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update .github/workflows/ci.yaml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update .github/workflows/ci.yaml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update .github/workflows/ci.yaml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update .github/workflows/ci.yaml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update .github/workflows/ci.yaml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Various fixes

* Final polish.

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2020-11-12 17:21:44 +01:00