From f54ad9c04371509a6fbc3a3dee15865a42bce444 Mon Sep 17 00:00:00 2001 From: Daniel Camilo Montoya Date: Fri, 6 Oct 2023 12:50:03 -0500 Subject: [PATCH] feat(change): correction version compatibiliy semantic-release (#587) Co-authored-by: Daniel Montoya --- .github/workflows/node.js.yml | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index dd3a21d..adfe11f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14] + node-version: [12] steps: - name: Checkout code @@ -36,6 +36,7 @@ jobs: run: npx eslint . release: + needs: test if: github.ref == 'refs/heads/master' name: create a version file runs-on: ubuntu-latest @@ -47,7 +48,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 12 - uses: actions/cache@v3 with: path: ~/.npm diff --git a/package.json b/package.json index fc966fe..75471b6 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "semantic-release": "semantic-release" }, "engines": { - "node": ">=14" + "node": ">=12" }, "repository": { "type": "git",