Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Merge branch 'main' of github.com:bfukumori/nlw-journey-24-node-trail #4

Merge branch 'main' of github.com:bfukumori/nlw-journey-24-node-trail

Merge branch 'main' of github.com:bfukumori/nlw-journey-24-node-trail #4

name: Run Tests on Push
on:
push:
branches:
- main
- '**/feature/*'
- '**/bugfix/*'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test