File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
packages/build/src/npm-packages Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,21 @@ jobs:
10
10
name : Bump packages
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - name : Create Github App Token
14
- uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
13
+ - uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
15
14
id : app-token
16
15
with :
17
16
app-id : ${{ vars.DEVTOOLS_BOT_APP_ID }}
18
- private-key : ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
19
-
17
+ private-key : ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
20
18
- uses : actions/checkout@v4
21
19
with :
22
20
# don't checkout a detatched HEAD
23
21
ref : ${{ github.head_ref }}
24
22
23
+ # this is important so git log can pick up on
24
+ # the whole history to generate the list of AUTHORS
25
+ fetch-depth : " 0"
26
+ token : ${{ steps.app-token.outputs.token }}
27
+
25
28
- uses : actions/setup-node@v4
26
29
with :
27
30
node-version : 20.16.0
33
36
34
37
- name : Install Dependencies
35
38
run : |
36
- npm -v
37
39
npm ci
38
40
39
41
- name : Bump packages
Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
20
20
steps :
21
- - name : Create Github App Token
22
- uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
21
+ - uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
23
22
id : app-token
24
23
with :
25
24
app-id : ${{ vars.DEVTOOLS_BOT_APP_ID }}
30
29
# don't checkout a detatched HEAD
31
30
ref : ${{ github.head_ref }}
32
31
32
+ # this is important so git log can pick up on
33
+ # the whole history to generate the list of AUTHORS
34
+ fetch-depth : " 0"
35
+ token : ${{ steps.app-token.outputs.token }}
36
+
33
37
- name : " Use Node.js 20"
34
38
uses : actions/setup-node@v4
35
39
with :
Original file line number Diff line number Diff line change 8
8
import { promises as fs } from 'fs' ;
9
9
import path from 'path' ;
10
10
import { PROJECT_ROOT } from './constants' ;
11
- import * as monorepoTools from '@mongodb-js/monorepo-tools' ;
12
11
13
12
describe ( 'npm-packages bump' , function ( ) {
14
13
let fsReadFile : SinonStub ;
You can’t perform that action at this time.
0 commit comments