diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..4637ae1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,17 @@ +version: 2 +updates: + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'weekly' + + - package-ecosystem: 'npm' + directory: '/' + schedule: + interval: 'daily' + labels: + - 'dependencies' + assignees: + - 'ahmadk953' + reviewers: + - 'ahmadk953' \ No newline at end of file diff --git a/.github/workflows/build-lint.yml b/.github/workflows/build-lint.yml new file mode 100644 index 0000000..cd53145 --- /dev/null +++ b/.github/workflows/build-lint.yml @@ -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 \ No newline at end of file