Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Node.js - Automated Tests #242

Node.js - Automated Tests

Node.js - Automated Tests #242

name: Node.js - Automated Tests
on:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
- name: Use Node.js 22
uses: actions/setup-node@v3
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm test
- run: npm run pre-test
- run: npm run test:e2e
- run: ./scripts/5-clean-up.sh
Morty Proxy This is a proxified and sanitized view of the page, visit original site.