Update build.yml to upgrade pnpm action from v3 to v4 and specify pnp… …m version 10 for improved dependency management.
Add permissions for GitHub Actions workflow to enable write access fo… …r contents, pages, and id-token