mirror of
https://github.com/LukeHagar/sveltekit-electron-adapter.git
synced 2025-12-10 04:21:44 +00:00
[Fix] CI/CD
This commit is contained in:
4
.github/workflows/beta.yml
vendored
4
.github/workflows/beta.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
|
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
|
||||||
- run: git config --global user.email 'support@ptkdev.io'
|
- run: git config --global user.email 'support@ptkdev.io'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run github-workflow-next-version --cmd beta
|
- run: npm run github-workflow-next-version -- --cmd beta
|
||||||
- run: npm run release
|
- run: npm run release
|
||||||
- run: npm run pre-commit
|
- run: npm run pre-commit
|
||||||
- id: pkgjson
|
- id: pkgjson
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
- run: git fetch --all && git checkout nightly
|
- run: git fetch --all && git checkout nightly
|
||||||
- run: npm run github-workflow-next-version --cmd nightly-next
|
- run: npm run github-workflow-next-version -- --cmd nightly-next
|
||||||
- run: npm run pre-commit
|
- run: npm run pre-commit
|
||||||
- id: nextnightly
|
- id: nextnightly
|
||||||
run: chmod +x ./scripts/version.sh && ./scripts/version.sh
|
run: chmod +x ./scripts/version.sh && ./scripts/version.sh
|
||||||
|
|||||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
|
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
|
||||||
- run: git config --global user.email 'support@ptkdev.io'
|
- run: git config --global user.email 'support@ptkdev.io'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run github-workflow-next-version --cmd main
|
- run: npm run github-workflow-next-version -- --cmd main
|
||||||
- run: npm run release
|
- run: npm run release
|
||||||
- run: npm run pre-commit
|
- run: npm run pre-commit
|
||||||
- id: pkgjson
|
- id: pkgjson
|
||||||
|
|||||||
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
|
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
|
||||||
- run: git config --global user.email 'support@ptkdev.io'
|
- run: git config --global user.email 'support@ptkdev.io'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run github-workflow-next-version --cmd nightly
|
- run: npm run github-workflow-next-version -- --cmd nightly
|
||||||
- run: npm run pkg-upgrade
|
- run: npm run pkg-upgrade
|
||||||
- run: npm run release
|
- run: npm run release
|
||||||
- run: npm run pre-commit
|
- run: npm run pre-commit
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<!-- all-shields/header-badges:START -->
|
<!-- all-shields/header-badges:START -->
|
||||||
|
|
||||||
[](https://github.com/ptkdev/sveltekit-electron-adapter/blob/main/CHANGELOG.md) [](https://www.npmjs.com/package/@ptkdev/sveltekit-electron-adapter) [](https://github.com/ptkdev/sveltekit-electron-adapter/blob/main/LICENSE.md) [](https://www.typescriptlang.org/) [](https://grammy.dev/) [](https://github.com/tc39/ecma262) [](https://discord.ptkdev.io)
|
[](https://github.com/ptkdev/sveltekit-electron-adapter/blob/main/CHANGELOG.md) [](https://www.npmjs.com/package/@ptkdev/sveltekit-electron-adapter) [](https://github.com/ptkdev/sveltekit-electron-adapter/blob/main/LICENSE.md) [](https://www.typescriptlang.org/) [](https://grammy.dev/) [](https://github.com/tc39/ecma262) [](https://discord.ptkdev.io)
|
||||||
|
|
||||||
<!-- all-shields/header-badges:END -->
|
<!-- all-shields/header-badges:END -->
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "@ptkdev/sveltekit-electron-adapter",
|
"name": "@ptkdev/sveltekit-electron-adapter",
|
||||||
"displayName": "SvelteKit Adapter for Desktop Apps with Electron",
|
"displayName": "SvelteKit Adapter for Desktop Apps with Electron",
|
||||||
"description": "Adapter for SvelteKit apps that prerenders your entire site as a collection of static files for use with Electron",
|
"description": "Adapter for SvelteKit apps that prerenders your entire site as a collection of static files for use with Electron",
|
||||||
"version": "0.0.0",
|
"version": "0.2.1",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ const version = pkg.version.split(".");
|
|||||||
let next_version, patch;
|
let next_version, patch;
|
||||||
|
|
||||||
const argv: any = yargs(process.argv.slice(2)).argv;
|
const argv: any = yargs(process.argv.slice(2)).argv;
|
||||||
|
console.log(argv.cmd);
|
||||||
|
|
||||||
switch (argv.cmd) {
|
switch (argv.cmd) {
|
||||||
case "nightly":
|
case "nightly":
|
||||||
|
|||||||
Reference in New Issue
Block a user