Skip to content

Commit df20b2c

Browse files
committed
ci(release): use Node 16 to workaround build error
1 parent 2bbe1c9 commit df20b2c

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: lts/*
14+
# Node 18 fails with
15+
# "Error: error:0308010C:digital envelope routines::unsupported"
16+
node-version: 16
1517
cache: npm
1618
- run: npm ci
1719
- run: npm run build

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"execa": "^2.0.4"
2020
},
2121
"devDependencies": {
22-
"@zeit/ncc": "^0.20.5"
22+
"@zeit/ncc": "^0.22.3"
2323
}
2424
}

0 commit comments

Comments
 (0)