- Run
npm ci. - Run
npm run icons. - Run
npm run check. - Run
npm run package. - Confirm the generated
.mezcontains the M source and every icon.
GitHub Actions performs these checks and publishes the unsigned .mez as a workflow artifact.
Before a production release, use the current Microsoft.PowerQuery.SdkTools NuGet package on an isolated Windows release runner:
- Exercise bounded raw, aggregated, custom-range, text, Boolean, empty-result, authentication-error, and temporary-failure cases with PQTest.
- Run one Power BI Desktop import with Recommended connector security.
- Run one scheduled refresh through the standard on-premises data gateway.
- Validate Incremental Refresh with
RangeStartandRangeEnd.
Do not place test credentials in the repository or command history. Use the Power Query credential store and the organization's protected runner facilities.
scripts/pack-pqx.ps1 creates an unsigned .pqx with Microsoft's MakePQX. Signing requires an organization-controlled code-signing certificate. Perform that operation through the organization's protected signing service; do not store the PFX or its password in this repository or expose the password on a shared command line.
After signing, run scripts/verify-pqx.ps1, record the SHA-256 digest and certificate thumbprint in the release notes, and distribute the thumbprint through managed Power BI Desktop policy. Publish both the signed .pqx and its checksum.
- The repository owner must choose and add a software license.
- A production code-signing certificate and protected signing runner are required.
- Windows PQTest, Power BI Desktop, and gateway evidence must pass.
- Change
Betatofalseonly after those checks pass.