File tree Expand file tree Collapse file tree 2 files changed +973
-3
lines changed
Expand file tree Collapse file tree 2 files changed +973
-3
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,18 @@ jobs:
2828 runs-on : ${{ matrix.os }}
2929 steps :
3030 - uses : actions/checkout@v4
31+ - name : Set up Docker
32+ uses : actions/setup-docker@v2
33+ - name : Start DB2 container
34+ run : |
35+ docker run -d --name db2 -e ACCEPT_EULA=TRUE -p 60000:50000 -v db2data:/db2data ibmcom/db2
36+ - name : Wait for DB2 to be ready
37+ run : sleep 10
3138 - name : Use Node.js ${{ matrix.node-version }}
3239 uses : actions/setup-node@v4
3340 with :
3441 node-version : ${{ matrix.node-version }}
35- - run : npm install
42+ - run : npm ci
3643 - name : Run test
3744 run : npm test --ignore-scripts
3845
4451 - uses : actions/setup-node@v4
4552 with :
4653 node-version : 22 # LTS
47- - run : npm install --ignore-scripts
54+ - run : npm ci --ignore-scripts
4855 - name : Verify code linting
4956 run : npx --no eslint .
5057
6067 with :
6168 node-version : 22 # LTS
6269 - name : Install dependencies
63- run : npm install
70+ run : npm ci
6471 - name : Verify commit linting
6572 run : npx commitlint --from origin/master --to HEAD --verbose
You can’t perform that action at this time.
0 commit comments