Added comment in tests about workflows

This commit is contained in:
Alexander Cerutti
2023-04-29 18:09:34 +02:00
parent ced8b71b5b
commit 58dc270e3f

View File

@@ -10,6 +10,11 @@ const fs = require("node:fs");
const path = require("node:path"); const path = require("node:path");
const { default: PKPass } = require("../lib/PKPass"); const { default: PKPass } = require("../lib/PKPass");
/**
* SIGNER_CERT, SIGNER_KEY, WWDR and SIGNER_KEY_PASSPHRASE are also set
* as secrets in Github for run tests on Github Actions
*/
const SIGNER_CERT = const SIGNER_CERT =
process.env.SIGNER_CERT || process.env.SIGNER_CERT ||
fs.readFileSync(path.resolve(__dirname, "../certificates/signerCert.pem")); fs.readFileSync(path.resolve(__dirname, "../certificates/signerCert.pem"));