Skip to content

Commit ff0acd6

Browse files
committed
Tweak OS and Node versions and rebuild sqlite3 to make adapter work in Docker image
1 parent adf9911 commit ff0acd6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
strategy:
1515
matrix:
1616
node-version: [

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v2
1313
- uses: actions/setup-node@v1
1414
with:
15-
node-version: 8
15+
node-version: 20
1616
- name: Set release version
1717
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
1818
- name: Package project

package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash -e
22

3-
rm -rf node_modules
4-
53
npm ci --production
4+
# Rebuild sqlite3 for the version of glibc shipped with this OS
5+
npm rebuild sqlite3 --build-from-source
66

77
# Remove internal package-lock cache which can cause checksum errors at runtime
88
rm -f node_modules/.package-lock.json

0 commit comments

Comments
 (0)