@@ -6,7 +6,7 @@ name: Node.js CI
66on :
77  push :
88    branches : [ main ] 
9-     tags : ' *' 
9+     tags : [  '*' ] 
1010  pull_request :
1111    branches : [ main ] 
1212
@@ -16,49 +16,50 @@ jobs:
1616    strategy :
1717      matrix :
1818        #  See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19-         node-version : [12 .x, 14 .x, 15 .x] 
20-         mongodb-version : ['4 .0', '4.2 ', '4.4 '] 
19+         node-version : [20 .x, 22 .x, 24 .x] 
20+         mongodb-version : ['6 .0', '7.0 ', '8.0 '] 
2121
2222    steps :
23-     - uses : actions/checkout@v2 
23+     - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8  #  v5.0.0
24+       with :
25+         show-progress : false 
2426    - name : Use Node.js ${{ matrix.node-version }} 
25-       uses : actions/setup-node@v2  
27+       uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444   #  v5.0.0 
2628      with :
2729        node-version : ${{ matrix.node-version }} 
30+         check-latest : true 
2831
2932    - name : Start MongoDB 
30-       uses : supercharge/mongodb-github-action@1.6 .0 
33+       uses : supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d   #  v1.12 .0
3134      with :
3235        mongodb-version : ${{ matrix.mongodb-version }} 
33-          
36+ 
3437    - run : npm ci 
3538    - run : npm run build --if-present 
3639    - run : npm test 
3740    - run : npm run coverage 
3841
3942    - name : Coveralls 
40-       uses : coverallsapp/github-action@master 
41-       with :
42-         github-token : ${{ secrets.GITHUB_TOKEN }} 
43+       uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b  #  v2.3.6
4344
4445  publish :
4546    runs-on : ubuntu-latest 
4647    if : ${{ startsWith(github.ref, 'refs/tags/') }} 
4748
4849    steps :
49-       - uses : actions/checkout@v1 
50+       - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8  #  v5.0.0
51+         with :
52+           show-progress : false 
5053
5154      - name : Start MongoDB 
52-         uses : supercharge/mongodb-github-action@1.6 .0 
55+         uses : supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d   #  v1.12 .0
5356        with :
54-           mongodb-version : 4.4 
57+           mongodb-version : 8 
5558
56-       - uses : actions/setup-node@v1  
59+       - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444   #  v5.0.0 
5760        with :
58-           node-version : 14.x 
59-       - run : npm install 
61+           node-version : 24 
62+           check-latest : true 
63+       - run : npm ci 
6064      - run : npm test 
61-       - uses : JS-DevTools/npm-publish@v1 
62-         with :
63-           token : ${{ secrets.NPM_TOKEN }} 
64-           access : ' public' 
65+       - run : npm publish --access public 
0 commit comments