Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Deps: Update actions/setup-node action to v4. #833

Deps: Update actions/setup-node action to v4.

Deps: Update actions/setup-node action to v4. #833

Workflow file for this run

name: 🧠 CI
on:
push:
paths-ignore:
- '**.md'
jobs:
test:
name: 🔬 Test
timeout-minutes: 10
runs-on: ubuntu-latest
env:
CI: true
MONGODB_URI: ${{ secrets.MONGODB }}
steps:
- name: 🕶️ Checkout repository
uses: actions/checkout@v4
- name: 🏎️ Setup nodejs
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
- name: 💾 Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-test-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-test-
- name: 📦 Download dependencies
run: npm ci
- name: 🧪 Lint
run: npm run lint
- name: 🧪 Test
run: npm run test