From 7fbfd452d367150c2781b4fd129ff6e05535dba2 Mon Sep 17 00:00:00 2001 From: meysamhadeli Date: Wed, 25 Jan 2023 01:17:36 +0330 Subject: [PATCH] . --- .github/workflows/build-publish-docker.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-publish-docker.yml b/.github/workflows/build-publish-docker.yml index 384d1cd..a0c692c 100644 --- a/.github/workflows/build-publish-docker.yml +++ b/.github/workflows/build-publish-docker.yml @@ -15,19 +15,18 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Setup Node.js + - name: Use Node.js 16.x uses: actions/setup-node@v2 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: 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 uses: docker/login-action@v2