Skip to content

Commit 636290e

Browse files
authored
ci: Fix auto-release (#258)
1 parent bee437a commit 636290e

File tree

4 files changed

+5077
-5813
lines changed

4 files changed

+5077
-5813
lines changed

.github/workflows/release-automated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup Node
1414
uses: actions/setup-node@v2
1515
with:
16-
node-version: 18
16+
node-version: 20
1717
- name: Cache Node.js modules
1818
uses: actions/cache@v2
1919
with:

release.config.js renamed to .releaserc/release.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* Semantic Release Config
33
*/
44

5-
const fs = require('fs').promises;
6-
const path = require('path');
5+
import fs from 'fs/promises';
6+
import path from 'path';
77

88
// Get env vars
99
const ref = process.env.GITHUB_REF;
@@ -47,7 +47,7 @@ async function config() {
4747
// { name: 'release-3', range: '3.x.x', channel: '3.x' },
4848
// { name: 'release-4', range: '4.x.x', channel: '4.x' },
4949
],
50-
dryRun: false,
50+
dryRun: true,
5151
debug: true,
5252
ci: true,
5353
tagFormat: '${version}',

0 commit comments

Comments
 (0)