Skip to content

Commit

Permalink
Fix CI release on merge to next (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow authored and matthewp committed Sep 30, 2021
1 parent 757fd8a commit 3988ecf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 don’t 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!
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class AstroBuilder {
rollupPluginHTML({
input,
extractAssets: false,
}),
}) as any, // CI fix: ignore typing of this plugin
...(viteConfig.plugins || []),
],
publicDir: viteConfig.publicDir,
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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==
Expand Down

0 comments on commit 3988ecf

Please sign in to comment.