File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,32 +12,33 @@ jobs:
1212
1313 strategy :
1414 matrix :
15- node-version : [12.x, 14.x, 15 .x]
15+ node-version : [20 .x]
1616
1717 services :
1818 mongo :
1919 image : mongo:latest
2020 ports :
2121 - 27017:27017
2222
23+
2324 steps :
24- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v4
2526 - name : Use Node.js ${{ matrix.node-version }}
26- uses : actions/setup-node@v1
27+ uses : actions/setup-node@v4
2728 with :
2829 node-version : ${{ matrix.node-version }}
2930 - name : Cache Node.js modules
30- uses : actions/cache@v1
31+ uses : actions/cache@v4
3132 with :
32- path : ~/.npm
33+ path : ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
3334 key : ${{ runner.OS }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
3435 restore-keys : |
3536 ${{ runner.OS }}-node-${{ matrix.node-version }}-
3637 ${{ runner.OS }}-node-
3738 ${{ runner.OS }}-
3839
39- - run : npm install
40- - run : npm test
40+ - run : yarn install
41+ - run : yarn test
4142 env :
4243 CI : true
4344 FACEBOOK_APP_ID : ${{ secrets.FACEBOOK_APP_ID }}
You can’t perform that action at this time.
0 commit comments