WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 18a6bbd

Browse files
committed
bump workflow versions
1 parent c5b622b commit 18a6bbd

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
jobs:
66
test:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
strategy:
99
fail-fast: false
1010
matrix:
11-
node: [16, 18, 20]
11+
node: [22, 24]
1212
name: Node ${{ matrix.node }}
1313
steps:
1414
- uses: actions/checkout@v2
@@ -22,14 +22,13 @@ jobs:
2222

2323
- name: Setup
2424
run: |
25-
wget -q http://downloads.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz
26-
tar xf mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz
25+
wget -q http://downloads.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2204-8.0.7.tgz
26+
tar xf mongodb-linux-x86_64-ubuntu2204-8.0.7.tgz
2727
mkdir -p ./data/db/27017 ./data/db/27000
2828
printf "\n--timeout 8000" >> ./test/mocha.opts
29-
./mongodb-linux-x86_64-ubuntu2004-5.0.8/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017
29+
./mongodb-linux-x86_64-ubuntu2204-8.0.7/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017
3030
sleep 2
31-
mongod --version
32-
echo `pwd`/mongodb-linux-x86_64-ubuntu2004-5.0.8/bin >> $GITHUB_PATH
31+
echo `pwd`/mongodb-linux-x86_64-ubuntu2204-8.0.7/bin >> $GITHUB_PATH
3332
3433
- run: npm test
3534

@@ -42,7 +41,7 @@ jobs:
4241
- name: Setup node
4342
uses: actions/setup-node@v1
4443
with:
45-
node-version: 14
44+
node-version: 22
4645

4746
- run: npm install
4847

0 commit comments

Comments
 (0)