0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

158 commits

Author SHA1 Message Date
Caleb Jasik
a0becd24b4
Only run .github/workflows/stats.yml locally, not on forks (#1549) 2021-10-14 08:07:47 -04:00
Elian ☕️
5ef1bf6e7d
Add Github Action to automatically push from main to latest when no changeset (#1529)
* Add CI for updates on main to latest

* Add folder checking on .changeset

* Check JSON value of changeset

* Update push script on action

* Update commit and push job
2021-10-11 15:56:50 -04:00
Joseph Yi
e4b0db9b12
Use setup-node action's caching (#1476)
* Use setup-node action's caching

* additional cleanup of caching boilerplate

Co-authored-by: Joseph Yi <joseph.yi@shift.com>
2021-10-02 23:28:50 -07:00
Fred K. Schott
cef644a8fc
Update issue.yml 2021-09-17 22:51:54 -07:00
Fred K. Schott
49456fcb1a Revert "fix bad ci paths"
This reverts commit c9bef50bc7.
2021-09-14 21:23:39 -07:00
Fred K. Schott
c9bef50bc7 fix bad ci paths 2021-09-14 17:17:09 -07:00
Fred K. Schott
d7b6e54810
fix outdated lockfile issue (#1357) 2021-09-13 15:34:40 -07:00
Fred K. Schott
287eee766f
Update issue.yml column name 2021-09-01 15:57:36 -07:00
Fred K. Schott
fba0446666 success: clean up issue.yml from testing 2021-09-01 11:33:09 -07:00
Fred K. Schott
be173d5f01 issue.yml testing 2021-09-01 11:32:08 -07:00
Fred K. Schott
8480103e3b issue.yml testing 2021-09-01 11:30:05 -07:00
Fred K. Schott
68d01a8103 fix bad project url in issue.yml 2021-09-01 11:29:10 -07:00
Fred K. Schott
5cb57a375a fix issue.yml syntax error 2021-09-01 11:27:29 -07:00
Fred K. Schott
53ffefcf43
add project assigner CI bot (#1291) 2021-09-01 09:53:42 -07:00
Fred K. Schott
2af9b29472
Fix congratsbot multiline issue (#1285)
* testing new congrats bot

if you see this, it did not work yet

* try including multiline message

line 2
line 3
2021-08-31 22:26:41 -07:00
Fred K. Schott
f14762bd12
wip (#1284) 2021-08-31 19:50:25 -07:00
Mihkel Eidast
44fb8ebcc4
Fix linter errors and warnings (#1218)
* fix lint issues, enable lint in ci

* add changeset
2021-08-24 15:50:24 -04:00
Marcus Otterström
c7bbb042b0
Make congratsbot not run in forks (#1145) 2021-08-17 22:19:25 -07:00
Fred K. Schott
2c0d0a7aa2 restrict smoke test to ubuntu@node14 2021-08-12 01:41:54 -07:00
Fred K. Schott
34e9ab8b10
Update ci.yml 2021-08-12 01:34:51 -07:00
Fred K. Schott
7c2feb19f6
add docs and www smoke tests to github (#1088) 2021-08-11 16:31:02 -07:00
Fred K. Schott
fcc56a8672 don't force push the format commit 2021-08-11 14:54:37 -07:00
Fred K. Schott
d2739dcc4c keep latest branch up to date 2021-08-11 14:54:14 -07:00
Fred K. Schott
812c9d8269
Update congratsbot.yml 2021-08-08 22:36:38 -07:00
Fred K. Schott
5b04e55052
Update congratsbot.yml 2021-08-08 22:33:35 -07:00
Fred K. Schott
8a969007fb
Update congratsbot to support external PRs 2021-08-08 22:28:21 -07:00
Fred K. Schott
a64a703246
Update congratsbot.yml 2021-08-08 11:26:30 -07:00
Fred K. Schott
30d258596e
Testing github action, safe to ignore (#1058)
* Update congratsbot.yml

* Update congratsbot.yml
2021-08-08 11:25:13 -07:00
Fred K. Schott
ddca6e4c93
Create congratsbot.yml (#1057) 2021-08-08 11:09:34 -07:00
Fred K. Schott
7f6dd972b8
Update congratsbot.yml (#1055) 2021-08-08 11:05:30 -07:00
Fred K. Schott
8e7c5ef991
Create congratsbot action 2021-08-08 11:02:43 -07:00
Fred K. Schott
2360e2c8a2 testing complete, add back if check for release message 2021-08-05 23:19:54 -07:00
Fred K. Schott
9533258534 update discord release message 2021-08-05 23:15:34 -07:00
Fred K. Schott
49e8bde4e1 update discord release message 2021-08-05 23:12:57 -07:00
Fred K. Schott
db90e7046a add discord announcement when a new release goes out 2021-08-05 23:01:18 -07:00
Fred K. Schott
f0737adf2c
update release CI script to publish (#1034) 2021-08-05 13:39:55 -07:00
Fred K. Schott
7d82ce9c92 fix changeset ci 2021-07-24 16:00:57 -07:00
Fred K. Schott
c5073cc982 stop ignoring release ci script 2021-07-24 15:57:01 -07:00
Fred K. Schott
debbc18708 format 2021-07-22 15:38:39 -07:00
Fred K. Schott
91dba89833
improve ci (#802) 2021-07-22 08:51:07 -07:00
Fred K. Schott
a7e66666e4
tsconfig fix (#752) 2021-07-19 18:23:39 -07:00
Drew Powers
9d3cd49410
Improve templates test (#377) 2021-06-11 15:07:30 -06:00
Drew Powers
a660e49f80
Add integration test for templates (#372) 2021-06-10 10:30:48 -06:00
Matthew Phillips
5cc90f9dc1
Move parser to the scoped package name (#319)
* Move parser to the scoped package name

* Prettier plugin should use 0.12 of the parser
2021-06-07 16:05:13 -04:00
Drew Powers
f366520995
Improve Advanced Styling doc (#268) 2021-05-27 20:05:29 -06:00
Nate Moore
087fe6276f
chore: format workflow, format .astro files (#211) 2021-05-13 14:20:01 -05:00
Drew Powers
3ef1b01e14
[wip] Fix CI (#202)
* Yarn format

* Fix changeset --since

* Fix Windows tests
2021-05-12 12:06:16 -06:00
Nate Moore
e77c8fff77
Fix workflows! (#198)
* chore: fix changeset workflow

* fix: changeset action

* fix: pre_job => skip_test

* chore: add empty changeset
2021-05-11 17:32:11 -06:00
Drew Powers
52b592a04e
Attempt to fix CI skipping (#165) 2021-05-03 11:27:21 -06:00
Nate Moore
4df1347156
Migrate to yarn monorepo (#157)
* chore: use monorepo

* chore: scaffold astro-scripts

* chore: move tests inside packages/astro

* chore: refactor tests, add scripts

* chore: move parser to own module

* chore: move runtime to packages/astro

* fix: move parser to own package

* test: fix prettier-plugin-astro tests

* fix: tests

* chore: update package-lock

* chore: add changesets

* fix: cleanup examples

* fix: starter example

* chore: update changeset config

* chore: update changeset config

* chore: setup changeset release workflow

* chore: bump lockfiles

* chore: prism => astro-prism

* fix: tsc --emitDeclarationOnly

* chore: final cleanup, switch to yarn

* chore: add lerna

* chore: update workflows to yarn

* chore: update workflows

* chore: remove lint workflow

* chore: add astro-dev script

* chore: add symlinked README
2021-04-30 16:33:35 -05:00
Drew Powers
78fe1cbaf4
Only run CI on pull requests and merges, not every commit (#119) 2021-04-21 10:55:49 -06:00
Nate Moore
54409a0702
Prettier support for .astro files (#106)
* docs: fix readme

* chore: scaffold prettier plugin

* chore(prettier): switch to cjs

* test(prettier): scaffold prettier tests

* test(prettier): add simple prettier tests

* feat(prettier): first pass

* refactor: expose parser as CJS export

* test(prettier): add long expression

* refactor(prettier): use Astro parser + built-in prettier doc for prettier plugin

* chore: remove parser from git

* chore: add prettier-plugin-astro `build` to workflow

* chore: update package-lock

* chore: do not build prettier-plugin-astro

* fix: update engines

* chore: remove NPM restriction

* chore: fix workflow paths

* chore: update build script

* test: fix prettier expr test

* chore: fix parser build on windows

* refactor: add parser tsconfig, extending base config

* chore: relax ban-ts-comment

* chore: fix lint issue

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-21 11:14:44 -05:00
duncanhealy
fe63d341cb
action: add kitchen-sink to nodejs workflow (#113) 2021-04-19 22:11:02 +01:00
Drew Powers
034674c88c
Add Windows Support (#93)
* Add Windows to test suite

* Try implicit URL
2021-04-14 13:21:25 -06:00
Drew Powers
3fa6396a7b
Extract Astro styles to external stylesheets (#43)
* Extract Astro styles to external stylesheets

* Require relative URLs in Markdown layouts
2021-03-31 13:04:18 -06:00
Drew Powers
7def0463b1
Add Auto-format action (#33) 2021-03-26 13:45:53 -06:00
Matthew Phillips
ed85702581
Allow HMX components in markdown (#19)
* Allow HMX components in markdown

This adds support for HMX components in markdown. The mechanism for importing is via frontmatter. We could do this differently (setup script maybe?) but since this was the easiest to implement I thought it was a good first-pass option.

* Remove node-fetch from snowpack config

* Assert that the runtime is created successfully

* Add back in the micromark extension for encoding entities

* Encode both codeTextData and codeFlowValue

* Install snowpack app's deps
2021-03-23 15:20:03 -04:00
Matthew Phillips
17c3c98f07
Initial tests set up (#10)
* Begin debugging

* Initial tests set up

This adds tests using uvu (we can switch if people want) and restructures things a bit so that it's easier to test.

Like in snowpack you set up a little project. In our tests you can say:

```js
const result = await runtime.load('/blog/hello-world')
```

And analyze the result. I included a `test-helpers.js` which has a function that will turn HTML into a cheerio instance, for inspecting the result HTML.

* Add CI

* Remove extra console logs

* Formatting
2021-03-19 17:07:45 -04:00