Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,33 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 15.x]
node-version: [20.x]

services:
mongo:
image: mongo:latest
ports:
- 27017:27017


steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.npm
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-${{ matrix.node-version }}-
${{ runner.OS }}-node-
${{ runner.OS }}-

- run: npm install
- run: npm test
- run: yarn install
- run: yarn test
env:
CI: true
FACEBOOK_APP_ID: ${{ secrets.FACEBOOK_APP_ID }}
Expand Down