I am trying to deploy my astro site to github pages. I followed all steps in the official astro article, still I am facing the following issue.
build
Error: No pnpm version is specified.
Please specify it by one of the following ways:
- in the GitHub Action config with the key "version"
- in the package.json with the key "packageManager"
my astro.config.mjs
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: 'https://[hidden-username].github.io',
integrations: [mdx(), sitemap(), tailwind()]
});
I have pasted the exact same deploy.yml code, tried some other options from a github issue. But still this issue persists.