This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
Deps: Update dependency @types/react to v18.2.32. #842
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |