-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
564 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
types: [closed] | ||
|
||
permissions: | ||
contents: read | ||
contents: write | ||
pages: write | ||
id-token: write | ||
|
||
|
@@ -25,7 +25,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '23.1' | ||
node-version: '22.11' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
|
@@ -38,9 +38,46 @@ jobs: | |
MIKRO_ORM_CLI_USE_TS_NODE: true | ||
run: node --run test | ||
|
||
build: | ||
release: | ||
runs-on: ubuntu-latest | ||
needs: tests | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '22.11' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Import GPG key | ||
env: | ||
GPG_PRIVATE_KEY: ${{ secrets.SEMANTIC_RELEASE_GPG_PRIVATE_KEY }} | ||
run: | | ||
echo "$GPG_PRIVATE_KEY" > private.key | ||
gpg --batch --import private.key | ||
git config --global commit.gpgSign true | ||
git config --global user.signingkey 8061777E7D988EE9 | ||
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf | ||
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf | ||
gpgconf --kill gpg-agent | ||
- name: Run semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_AUTHOR_NAME: 'romantic-release-bot' | ||
GIT_AUTHOR_EMAIL: '[email protected]' | ||
GIT_COMMITTER_NAME: 'romantic-release-bot' | ||
GIT_COMMITTER_EMAIL: '[email protected]' | ||
run: node --run release | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
needs: release | ||
steps: | ||
- name: Setup Pages | ||
id: pages | ||
|
@@ -52,7 +89,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '23.1' | ||
node-version: '22.11' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,21 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"svg.preview.background": "editor" | ||
"svg.preview.background": "editor", | ||
"workbench.colorCustomizations": { | ||
"activityBar.background": "#00b058", | ||
"activityBar.foreground": "#ffffff", | ||
"activityBar.activeBorder": "#FFFF00", | ||
"activityBarBadge.background": "#FFFF00", | ||
"activityBarBadge.foreground": "#008844", | ||
"titleBar.activeBackground": "#008040", | ||
"titleBar.activeForeground": "#FFFFFF", | ||
"titleBar.inactiveBackground": "#00b058", | ||
"titleBar.inactiveForeground": "#ffffff70", | ||
"statusBar.background": "#008040", | ||
"statusBar.foreground": "#FFFFFF", | ||
"statusBar.noFolderBackground": "#68217A", | ||
"statusBar.debuggingBackground": "#CC0000", | ||
"statusBar.noFolderForeground": "#FFFFFF", | ||
"statusBar.debuggingForeground": "#FFFFFF" | ||
} | ||
} |
Oops, something went wrong.