Skip to content

Commit

Permalink
feat: add build and test to pushes to the main (#152)
Browse files Browse the repository at this point in the history
* feat: add build and test to pushes to the main

* fix: ajust node version on action

---------

Co-authored-by: Paulo Victor T Silva <pilutechinformatica@gmail.com>
  • Loading branch information
Clerijr and PiluVitu authored Jul 31, 2024
1 parent aa64f7a commit 97b2eb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/install-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
NODE_VERSION:
description: 'The version of Node.js to use'
required: true
default: '22.x'
default: '20.x'
PNPM_VERSION:
description: 'The version of PNPM to use'
required: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Build and Test
on:
pull_request:
branches: ['main']
push:
branches: ['main']

jobs:
test:
Expand Down

0 comments on commit 97b2eb1

Please sign in to comment.