Skip to content

Commit

Permalink
Merge pull request #9 from hebertsanto/dev
Browse files Browse the repository at this point in the history
add github actions and pull request template
  • Loading branch information
hebertzin authored Jun 19, 2024
2 parents 0067ada + a4a67fb commit 7d1c0c4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 14 deletions.
19 changes: 19 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Description

Briefly describe the changes introduced by this pull request.

## Type of Change

Check the relevant options.

- [ ] Bug fix
- [ ] New functionality
- [ ] Performance improvement

## Verification

- [ ] I checked for conflicts with the target branch

## Additional comments

Please provide any additional comments or relevant information.
26 changes: 12 additions & 14 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,26 @@ name: Pipeline

on:
push:
branches: [ "main", "dev"]
branches: ['main', 'dev']
pull_request:
branches: [ "main", "dev" ]
branches: ['main', 'dev']

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm install
- run: npm run lint

- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm install
- run: npm run lint

0 comments on commit 7d1c0c4

Please sign in to comment.