Added Dependabot and GitHub Action

This commit is contained in:
Ahmad 2024-02-15 20:08:50 -05:00
parent f3e2f01bd7
commit 817cd7f92d
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
2 changed files with 46 additions and 0 deletions

29
.github/workflows/build-lint.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Build and Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Build
run: |
npm install
npm run build
- name: Lint
run: |
npm run lint