Vendor publish-release CI action

This replaces `marvinpinto/action-automatic-releases`, which hasn't been
updated since Jan 29 2022.
This commit is contained in:
peelz
2023-05-08 12:18:50 -04:00
parent 886fa9ed80
commit 32645c0dd2
119 changed files with 16086 additions and 5 deletions
@@ -0,0 +1,20 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);
const relPnpApiPath = "../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/index.js
require(absPnpApiPath).setup();
}
}
// Defer to the real prettier/index.js your application uses
module.exports = absRequire(`prettier/index.js`);
@@ -0,0 +1,6 @@
{
"name": "prettier",
"version": "2.8.8-sdk",
"main": "./index.js",
"type": "commonjs"
}