Skip to content

Commit

Permalink
chore(build): Auto-build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seebeen committed Jan 31, 2024
1 parent 4bdf39c commit aad6b1c
Show file tree
Hide file tree
Showing 5 changed files with 3,943 additions and 9,091 deletions.
8 changes: 0 additions & 8 deletions .github/scripts/release.sh

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.OBLAK_BOT_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
Expand All @@ -35,11 +35,10 @@ jobs:
run: npm run build
- name: Release
env:
GIT_AUTHOR_NAME: "oblakbot"
GIT_AUTHOR_EMAIL: "[email protected]"
GIT_COMMITTER_NAME: "oblakbot"
GIT_AUTHOR_NAME: 'oblakbot'
GIT_AUTHOR_EMAIL: '[email protected]'
GIT_COMMITTER_NAME: 'oblakbot'
GIT_COMMITTER_EMAIL: '[email protected]'
GITHUB_TOKEN: ${{ secrets.OBLAK_BOT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: npm run semantic-release

run: npx run semantic-release
23 changes: 5 additions & 18 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
{
"branches": ["master", "next"],
"branches": [
"master",
"next"
],
"plugins": [
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/exec", {
"prepareCmd": "sh ./.github/scripts/release.sh ${nextRelease.version}"
}],
["@semantic-release/git", {
"assets": ["CHANGELOG.md", "package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
["@semantic-release/github", {
"assets": [{
"path": "/tmp/release.zip",
"name": "nestjs-puppeteer-${nextRelease.version}.zip",
"label": "NestJS Puppeteer Module v${nextRelease.version}"
}]
}],
"@semantic-release/github",
"@semantic-release/npm"
]
}
Loading

0 comments on commit aad6b1c

Please sign in to comment.