Skip to content

Commit

Permalink
Add git action config for build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouhajer-CO committed Dec 12, 2023
1 parent 955f257 commit d309eba
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: 2

updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
interval: 'weekly'
21 changes: 21 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and Test Checks

on: [pull_request]

jobs:
build-and-test:

runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'

- run: npm ci
- run: npm run build
- run: npm test

0 comments on commit d309eba

Please sign in to comment.