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

Commit

Permalink
feat: adicionar ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
bfukumori committed Jul 11, 2024
1 parent d3fead5 commit 9032765
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/run-tests-on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Tests on Push

on:
push:
branches:
- main
- '**/feature/*'
- '**/bugfix/*'

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: ['18.x', '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

0 comments on commit 9032765

Please sign in to comment.