mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-28 08:50:23 +08:00
.
This commit is contained in:
parent
f7042c1ea2
commit
7fbfd452d3
15
.github/workflows/build-publish-docker.yml
vendored
15
.github/workflows/build-publish-docker.yml
vendored
@ -15,19 +15,18 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Use Node.js 16.x
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: '16'
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
- name: Release Version
|
## With the above semantic-release configuration, will create a release and push the dist/index.js file as well as all the tags required
|
||||||
|
- name: Semantic Release
|
||||||
|
run: npx semantic-release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
uses: semantic-release-bot/action@v1.1.1
|
|
||||||
with:
|
|
||||||
commit-message-format: '${conventionalCommit.type}(${conventionalCommit.scope}): ${conventionalCommit.subject}'
|
|
||||||
conventions: '@semantic-release-bot/conventional-commits'
|
|
||||||
dry-run: true
|
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user