diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index f7e7a2a826..f20761db87 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -13,7 +13,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 registry-url: https://registry.npmjs.org/ - name: Cache Node.js modules uses: actions/cache@v2 diff --git a/release.config.js b/release.config.js index e67b08526f..9858e3ce9f 100644 --- a/release.config.js +++ b/release.config.js @@ -83,21 +83,20 @@ async function config() { ['@semantic-release/git', { assets: [changelogFile, 'package.json', 'package-lock.json', 'npm-shrinkwrap.json'], }], + ['@semantic-release/github', { + successComment: getReleaseComment(), + labels: ['type:ci'], + releasedLabels: ['state:released<%= nextRelease.channel ? `-${nextRelease.channel}` : "" %>'] + }], [ '@saithodev/semantic-release-backmerge', { 'branches': [ { from: 'beta', to: 'alpha' }, { from: 'release', to: 'beta' }, - { from: 'release', to: 'alpha' }, ] } ], - ['@semantic-release/github', { - successComment: getReleaseComment(), - labels: ['type:ci'], - releasedLabels: ['state:released<%= nextRelease.channel ? `-${nextRelease.channel}` : "" %>'] - }], ], };