-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DN-8, DN-109
- Loading branch information
Showing
6 changed files
with
2,131 additions
and
50 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
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
### | ||
# Run semantic-release only after all tests succeeded! | ||
# - uses permissive GITHUB_TOKEN if we need to restrict the token in the future set permissions mannually | ||
# - in a future step we'll deploy this project to npm | ||
### | ||
|
||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- next | ||
- test | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
# permissions: | ||
# content: write | ||
# issues: write | ||
# pull-requests: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.9.0 | ||
- name: Install dependencies | ||
run: yarn install | ||
- name: Lint project | ||
run: yarn lint | ||
# - name: Test project | ||
# run: yarn test | ||
# - name: Build project | ||
# run: yarn build | ||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"branches": [ | ||
"master", | ||
{ | ||
"name": "next", | ||
"prelease": true | ||
}, | ||
{ | ||
"name": "test", | ||
"prelease": true | ||
} | ||
], | ||
"verifyConditions": [ | ||
"@semantic-release/git", | ||
"@semantic-release/github" | ||
], | ||
"prepare": [ | ||
{ | ||
"path": "@semantic-release/git", | ||
"assets": [ | ||
"package.json" | ||
], | ||
"message": "build(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
} | ||
], | ||
"publish": [ | ||
"@semantic-release/github" | ||
], | ||
"success": [ | ||
"@semantic-release/github" | ||
], | ||
"fail": [ | ||
"@semantic-release/github" | ||
] | ||
} |
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
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
Oops, something went wrong.
27ff140
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
designaroni-next – ./
designaroni-next-designaroni.vercel.app
designaroni.com
designaroni-next-git-master-designaroni.vercel.app