Add preview on PRs (#274)

This commit is contained in:
Simon Lecoq
2021-04-28 21:48:28 +02:00
committed by GitHub
parent 5b63ecbd96
commit b4dcf89f67
9 changed files with 121 additions and 5 deletions

View File

@@ -207,6 +207,10 @@
//Return object
const configure = Object.fromEntries(entries)
return Object.keys(configure).length ? configure : null
},
//Is in preview mode
preview() {
return /-preview$/.test(this.version)
}
},
//Methods