0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

Fix CI release on merge to next (#1427)

This commit is contained in:
Drew Powers 2021-09-24 11:12:52 -06:00 committed by Matthew Phillips
parent 7292c2eb04
commit 863bf58c46
4 changed files with 7 additions and 4 deletions

View file

@ -19,7 +19,10 @@ jobs:
- # 2. discard examples/docs/www changes (just in case)
run: git checkout -- examples/ docs/ www/
- # 3: use compiler--next renderers (but dont commit)
run: cd packages/astro && yarn add @astrojs/renderer-preact@next--compiler @astrojs/renderer-react@next--compiler @astrojs/renderer-svelte@next--compiler @astrojs/renderer-vue@next--compiler && cd ../..
run: |
cd packages/astro
yarn add @astrojs/renderer-preact@next--compiler @astrojs/renderer-react@next--compiler @astrojs/renderer-svelte@next--compiler @astrojs/renderer-vue@next--compiler
cd ../..
- # 4: auth
run: echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > ${{ github.workspace }}/.npmrc
- # 5: publish!

View file

@ -47,7 +47,7 @@
"@astrojs/renderer-svelte": "^0.1.2",
"@astrojs/renderer-vue": "^0.1.8",
"@babel/core": "^7.15.5",
"@web/rollup-plugin-html": "^1.9.1",
"@web/rollup-plugin-html": "^1.10.1",
"astring": "^1.7.5",
"cheerio": "^1.0.0-rc.10",
"ci-info": "^3.2.0",

View file

@ -131,7 +131,7 @@ class AstroBuilder {
rollupPluginHTML({
input,
extractAssets: false,
}),
}) as any, // CI fix: ignore typing of this plugin
...(viteConfig.plugins || []),
],
publicDir: viteConfig.publicDir,

View file

@ -2082,7 +2082,7 @@
"@types/parse5" "^6.0.1"
parse5 "^6.0.1"
"@web/rollup-plugin-html@^1.9.1":
"@web/rollup-plugin-html@^1.10.1":
version "1.10.1"
resolved "https://registry.yarnpkg.com/@web/rollup-plugin-html/-/rollup-plugin-html-1.10.1.tgz#7995d3aff436f6b5c1a365830a9ff525388b40d8"
integrity sha512-XYJxHtdllwA5l4X8wh8CailrOykOl3YY+BRqO8+wS/I1Kq0JFISg3EUHdWAyVcw0TRDnHNLbOBJTm2ptAM+eog==